rust/tests/ui/use/issue-18986.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
309 B
Plaintext
Raw Normal View History

error[E0574]: expected struct, variant or union type, found trait `Trait`
2018-12-25 15:56:47 +00:00
--> $DIR/issue-18986.rs:8:9
|
2019-03-09 12:03:44 +00:00
LL | Trait { x: 42 } => ()
| ^^^^^ not a struct, variant or union type
error: aborting due to 1 previous error
2019-10-11 13:23:18 +00:00
For more information about this error, try `rustc --explain E0574`.