thiserror/tests/ui/transparent-enum-source.stderr
2023-06-07 19:59:12 -07:00

10 lines
374 B
Text

error: transparent variant can't contain #[source]
--> tests/ui/transparent-enum-source.rs:6:11
|
3 | #[derive(Error, Debug)]
| ----- in this derive macro expansion
...
6 | Other(#[source] anyhow::Error),
| ^^^^^^^^^
|
= note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info)