rust/src/test/ui/error-codes/E0164.stderr
Guillaume Gomez 2e104a77cf update tests
2018-03-14 00:53:24 +01:00

9 lines
318 B
Text

error[E0164]: expected tuple struct/variant, found associated constant `<Foo>::B`
--> $DIR/E0164.rs:20:9
|
LL | Foo::B(i) => i, //~ ERROR E0164
| ^^^^^^^^^ not a tuple variant or struct
error: aborting due to previous error
For more information about this error, try `rustc --explain E0164`.