Debian Codegraph @

.cargo/vendor/thiserror-1.0.59/tests/ui/source-struct-not-error.rs

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