summary refs log tree commit diff
path: root/src/test/ui/error-codes/E0599.stderr
blob: d118939d17a15e62a5b745ac193637cfca6b811d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0599]: no associated item named `NotEvenReal` found for type `Foo` in the current scope
  --> $DIR/E0599.rs:14:15
   |
LL | struct Foo;
   | ----------- associated item `NotEvenReal` not found for this
...
LL |     || if let Foo::NotEvenReal() = Foo {}; //~ ERROR E0599
   |               ^^^^^^^^^^^^^^^^^^ associated item not found in `Foo`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0599`.