thiserror/tests/ui/transparent-struct-source.stderr
2021-10-08 03:02:01 -04:00

5 lines
186 B
Text

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