rust/tests/ui/issues/issue-19086.stderr

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

13 lines
450 B
Plaintext
Raw Normal View History

error[E0532]: expected tuple struct or tuple variant, found variant `FooB`
2018-12-25 08:56:47 -07:00
--> $DIR/issue-19086.rs:10:9
2018-07-15 14:11:54 -07:00
|
LL | FooB { x: i32, y: i32 }
| ----------------------- `FooB` defined here
...
2018-07-15 14:11:54 -07:00
LL | FooB(a, b) => println!("{} {}", a, b),
| ^^^^^^^^^^ help: use struct pattern syntax instead: `FooB { x: a, y: b }`
2018-07-15 14:11:54 -07:00
error: aborting due to 1 previous error
2018-07-15 14:11:54 -07:00
For more information about this error, try `rustc --explain E0532`.