rust/src/test/ui/error-codes/E0164.stderr

10 lines
328 B
Plaintext
Raw Normal View History

2018-02-08 03:35:35 +00:00
error[E0164]: expected tuple struct/variant, found associated constant `<Foo>::B`
--> $DIR/E0164.rs:20:9
|
20 | Foo::B(i) => i, //~ ERROR E0164
| ^^^^^^^^^ not a tuple variant or struct
error: aborting due to previous error
2018-02-19 20:40:25 +00:00
If you want more information on this error, try using "rustc --explain E0164"