mirror of
https://github.com/dtolnay/thiserror.git
synced 2025-04-05 13:57:38 +03:00
5 lines
202 B
Text
5 lines
202 B
Text
error: not expected here; the #[error(...)] attribute belongs on top of a struct or an enum variant
|
|
--> tests/ui/unexpected-field-fmt.rs:6:9
|
|
|
|
|
6 | #[error("...")]
|
|
| ^^^^^^^^^^^^^^^
|