rust/src/test/ui/issues/issue-23173.stderr

40 lines
1.4 KiB
Plaintext
Raw Normal View History

error[E0599]: no variant named `Homura` found for type `Token` in the current scope
2018-12-07 12:15:36 -06:00
--> $DIR/issue-23173.rs:9:23
|
2018-02-22 18:42:32 -06:00
LL | enum Token { LeftParen, RightParen, Plus, Minus, /* etc */ }
| ---------- variant `Homura` not found here
...
2018-02-22 18:42:32 -06:00
LL | use_token(&Token::Homura);
2019-03-10 18:20:15 -05:00
| ^^^^^^ variant not found in `Token`
error[E0599]: no function or associated item named `method` found for type `Struct` in the current scope
2018-12-07 12:15:36 -06:00
--> $DIR/issue-23173.rs:11:13
|
2018-02-22 18:42:32 -06:00
LL | struct Struct {
| ------------- function or associated item `method` not found for this
...
2018-02-22 18:42:32 -06:00
LL | Struct::method();
2019-03-10 18:20:15 -05:00
| ^^^^^^ function or associated item not found in `Struct`
error[E0599]: no function or associated item named `method` found for type `Struct` in the current scope
2018-12-07 12:15:36 -06:00
--> $DIR/issue-23173.rs:13:13
|
2018-02-22 18:42:32 -06:00
LL | struct Struct {
| ------------- function or associated item `method` not found for this
...
2018-02-22 18:42:32 -06:00
LL | Struct::method;
2019-03-10 18:20:15 -05:00
| ^^^^^^ function or associated item not found in `Struct`
error[E0599]: no associated item named `Assoc` found for type `Struct` in the current scope
2018-12-07 12:15:36 -06:00
--> $DIR/issue-23173.rs:15:13
|
2018-02-22 18:42:32 -06:00
LL | struct Struct {
| ------------- associated item `Assoc` not found for this
...
2018-02-22 18:42:32 -06:00
LL | Struct::Assoc;
2019-03-10 18:20:15 -05:00
| ^^^^^ associated item not found in `Struct`
error: aborting due to 4 previous errors
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0599`.