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 09:56:47 -06:00
--> $DIR/issue-18986.rs:8:9
|
2019-03-09 06:03:44 -06:00
LL | Trait { x: 42 } => ()
| ^^^^^ not a struct, variant or union type
error: aborting due to 1 previous error
2019-10-11 08:23:18 -05:00
For more information about this error, try `rustc --explain E0574`.