summaryrefslogtreecommitdiffstats
path: root/vendor/thiserror/tests/ui/unexpected-field-fmt.stderr
blob: bf3c24df298a962971330393e6bc74bae630f821 (plain)
1
2
3
4
5
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("...")]
  |         ^^^^^^^^^^^^^^^