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