1 error[E0599]: no variant named `Homura` found for type `Token` in the current scope
2 --> $DIR/issue-23173.rs:9:23
4 LL | enum Token { LeftParen, RightParen, Plus, Minus, /* etc */ }
5 | ---------- variant `Homura` not found here
7 LL | use_token(&Token::Homura);
10 | variant not found in `Token`
12 error[E0599]: no function or associated item named `method` found for type `Struct` in the current scope
13 --> $DIR/issue-23173.rs:11:13
16 | ------------- function or associated item `method` not found for this
18 LL | Struct::method();
21 | function or associated item not found in `Struct`
23 error[E0599]: no function or associated item named `method` found for type `Struct` in the current scope
24 --> $DIR/issue-23173.rs:13:13
27 | ------------- function or associated item `method` not found for this
32 | function or associated item not found in `Struct`
34 error[E0599]: no associated item named `Assoc` found for type `Struct` in the current scope
35 --> $DIR/issue-23173.rs:15:13
38 | ------------- associated item `Assoc` not found for this
43 | associated item not found in `Struct`
45 error: aborting due to 4 previous errors
47 For more information about this error, try `rustc --explain E0599`.