]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0599.stderr
d118939d17a15e62a5b745ac193637cfca6b811d
[rust.git] / src / test / ui / error-codes / E0599.stderr
1 error[E0599]: no associated item named `NotEvenReal` found for type `Foo` in the current scope
2   --> $DIR/E0599.rs:14:15
3    |
4 LL | struct Foo;
5    | ----------- associated item `NotEvenReal` not found for this
6 ...
7 LL |     || if let Foo::NotEvenReal() = Foo {}; //~ ERROR E0599
8    |               ^^^^^^^^^^^^^^^^^^ associated item not found in `Foo`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0599`.