File: unexpected-field-fmt.stderr

package info (click to toggle)
rust-thiserror-no-std 2.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 364 kB
  • sloc: makefile: 2
file content (5 lines) | stat: -rw-r--r-- 202 bytes parent folder | download | duplicates (64)
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("...")]
  |         ^^^^^^^^^^^^^^^