mirror of
https://github.com/dtolnay/thiserror.git
synced 2025-04-06 06:17:39 +03:00
10 lines
337 B
Text
10 lines
337 B
Text
error: duplicate #[source] attribute
|
|
--> tests/ui/duplicate-enum-source.rs:8:9
|
|
|
|
|
3 | #[derive(Error, Debug)]
|
|
| ----- in this derive macro expansion
|
|
...
|
|
8 | #[source]
|
|
| ^^^^^^^^^
|
|
|
|
|
= note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info)
|