2019-10-14 19:20:50 -05:00
|
|
|
error[E0532]: expected tuple struct or tuple variant, found struct variant `FooB`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-19086.rs:10:9
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
2019-09-22 13:27:55 -05:00
|
|
|
LL | FooB { x: i32, y: i32 }
|
|
|
|
| ----------------------- `FooB` defined here
|
|
|
|
...
|
2018-07-15 16:11:54 -05:00
|
|
|
LL | FooB(a, b) => println!("{} {}", a, b),
|
|
|
|
| ^^^^ did you mean `FooB { /* fields */ }`?
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0532`.
|