Debian Codegraph @

.cargo/vendor/thiserror/tests/ui/source-enum-unnamed-field-not-error.rs

raw
1 use thiserror::Error;
2
3 #[derive(Debug)]
4 pub struct NotError;
5
6 #[derive(Error, Debug)]
7 #[error("...")]
8 pub enum ErrorEnum {
9 Broken(#[source] NotError),
10 }
11
12 fn main() {}