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