thiserror/tests/ui/transparent-struct-source.stderr
2019-11-30 23:39:30 -08:00

5 lines
182 B
Text

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