1 error[E0599]: no variant or associated item named `mispellable` found for enum `Enum` in the current scope
2 --> $DIR/associated-item-enum.rs:17:11
4 LL | enum Enum { Variant }
5 | --------- variant or associated item `mispellable` not found here
7 LL | Enum::mispellable();
10 | variant or associated item not found in `Enum`
11 | help: there is an associated function with a similar name: `misspellable`
13 error[E0599]: no variant or associated item named `mispellable_trait` found for enum `Enum` in the current scope
14 --> $DIR/associated-item-enum.rs:18:11
16 LL | enum Enum { Variant }
17 | --------- variant or associated item `mispellable_trait` not found here
19 LL | Enum::mispellable_trait();
20 | ^^^^^^^^^^^^^^^^^ variant or associated item not found in `Enum`
22 error[E0599]: no variant or associated item named `MISPELLABLE` found for enum `Enum` in the current scope
23 --> $DIR/associated-item-enum.rs:19:11
25 LL | enum Enum { Variant }
26 | --------- variant or associated item `MISPELLABLE` not found here
28 LL | Enum::MISPELLABLE;
31 | variant or associated item not found in `Enum`
32 | help: there is an associated constant with a similar name: `MISSPELLABLE`
34 error: aborting due to 3 previous errors
36 For more information about this error, try `rustc --explain E0599`.