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

13 lines
468 B
Plaintext
Raw Normal View History

2018-02-07 21:35:35 -06:00
error[E0599]: no associated item named `NotEvenReal` found for type `Foo` in the current scope
--> $DIR/E0599.rs:14:15
|
11 | struct Foo;
| ----------- associated item `NotEvenReal` not found for this
...
14 | || if let Foo::NotEvenReal() = Foo {}; //~ ERROR E0599
| ^^^^^^^^^^^^^^^^^^ associated item not found in `Foo`
error: aborting due to previous error
2018-02-19 14:40:25 -06:00
If you want more information on this error, try using "rustc --explain E0599"