fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
1.8 KiB58 linesraw
1error[E0412]: cannot find type `field` in this scope
2  --> $DIR/resolve-assoc-suggestions.rs:16:16
3   |
4LL |         let _: field;
5   |                ^^^^^ not found in this scope
6
7error[E0531]: cannot find tuple struct or tuple variant `field` in this scope
8  --> $DIR/resolve-assoc-suggestions.rs:18:13
9   |
10LL |         let field(..);
11   |             ^^^^^ not found in this scope
12
13error[E0425]: cannot find value `field` in this scope
14  --> $DIR/resolve-assoc-suggestions.rs:20:9
15   |
16LL |         field;
17   |         ^^^^^ help: you might have meant to use the available field: `self.field`
18
19error[E0412]: cannot find type `Type` in this scope
20  --> $DIR/resolve-assoc-suggestions.rs:23:16
21   |
22LL |         let _: Type;
23   |                ^^^^ help: try: `Self::Type`
24
25error[E0531]: cannot find tuple struct or tuple variant `Type` in this scope
26  --> $DIR/resolve-assoc-suggestions.rs:25:13
27   |
28LL |         let Type(..);
29   |             ^^^^ not found in this scope
30
31error[E0425]: cannot find value `Type` in this scope
32  --> $DIR/resolve-assoc-suggestions.rs:27:9
33   |
34LL |         Type;
35   |         ^^^^ not found in this scope
36
37error[E0412]: cannot find type `method` in this scope
38  --> $DIR/resolve-assoc-suggestions.rs:30:16
39   |
40LL |         let _: method;
41   |                ^^^^^^ not found in this scope
42
43error[E0531]: cannot find tuple struct or tuple variant `method` in this scope
44  --> $DIR/resolve-assoc-suggestions.rs:32:13
45   |
46LL |         let method(..);
47   |             ^^^^^^ not found in this scope
48
49error[E0425]: cannot find value `method` in this scope
50  --> $DIR/resolve-assoc-suggestions.rs:34:9
51   |
52LL |         method;
53   |         ^^^^^^ help: try: `self.method`
54
55error: aborting due to 9 previous errors
56
57Some errors have detailed explanations: E0412, E0425, E0531.
58For more information about an error, try `rustc --explain E0412`.