fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error[E0599]: no variant or associated item named `Homura` found for enum `Token` in the current scope 2 --> $DIR/issue-23173.rs:9:23 3 | 4LL | enum Token { LeftParen, RightParen, Plus, Minus, /* etc */ } 5 | ---------- variant or associated item `Homura` not found here 6... 7LL | use_token(&Token::Homura); 8 | ^^^^^^ variant or associated item not found in `Token` 9 10error[E0599]: no function or associated item named `method` found for struct `Struct` in the current scope 11 --> $DIR/issue-23173.rs:10:13 12 | 13LL | struct Struct { 14 | ------------- function or associated item `method` not found for this 15... 16LL | Struct::method(); 17 | ^^^^^^ function or associated item not found in `Struct` 18 19error[E0599]: no function or associated item named `method` found for struct `Struct` in the current scope 20 --> $DIR/issue-23173.rs:11:13 21 | 22LL | struct Struct { 23 | ------------- function or associated item `method` not found for this 24... 25LL | Struct::method; 26 | ^^^^^^ function or associated item not found in `Struct` 27 28error[E0599]: no associated item named `Assoc` found for struct `Struct` in the current scope 29 --> $DIR/issue-23173.rs:12:13 30 | 31LL | struct Struct { 32 | ------------- associated item `Assoc` not found for this 33... 34LL | Struct::Assoc; 35 | ^^^^^ associated item not found in `Struct` 36 37error: aborting due to 4 previous errors 38 39For more information about this error, try `rustc --explain E0599`.