]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0599.stderr
Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup
[rust.git] / src / test / ui / error-codes / E0599.stderr
1 error[E0599]: no associated item named `NotEvenReal` found for struct `Foo` in the current scope
2   --> $DIR/E0599.rs:4:20
3    |
4 LL | struct Foo;
5    | ----------- associated item `NotEvenReal` not found for this
6 ...
7 LL |     || if let Foo::NotEvenReal() = Foo {};
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`.