rust/tests/ui/issues/issue-23173.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
1.5 KiB
Plaintext
Raw Normal View History

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