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

10 lines
318 B
Plaintext
Raw Normal View History

2018-02-07 21:35:35 -06:00
error[E0164]: expected tuple struct/variant, found associated constant `<Foo>::B`
--> $DIR/E0164.rs:20:9
|
2018-02-22 18:42:32 -06:00
LL | Foo::B(i) => i, //~ ERROR E0164
2018-02-07 21:35:35 -06:00
| ^^^^^^^^^ not a tuple variant or struct
error: aborting due to previous error
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0164`.