thiserror/tests/ui/transparent-struct-source.stderr
2021-10-07 00:32:11 -04:00

5 lines
191 B
Text

error: transparent error struct can't contain #[source]
--> $DIR/tests/ui/transparent-struct-source.rs:5:18
|
5 | pub struct Error(#[source] anyhow::Error);
| ^^^^^^^^^