thiserror/tests/ui/transparent-struct-source.stderr
2023-06-07 20:50:23 -07: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);
| ^^^^^^^^^