summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/resolve-assoc-suggestions.stderr
blob: 3d9d4ffaa10c80258498efbf8ae70b6ba23d550f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
error[E0412]: cannot find type `field` in this scope
  --> $DIR/resolve-assoc-suggestions.rs:16:16
   |
LL |         let _: field;
   |                ^^^^^ not found in this scope

error[E0531]: cannot find tuple struct or tuple variant `field` in this scope
  --> $DIR/resolve-assoc-suggestions.rs:18:13
   |
LL |         let field(..);
   |             ^^^^^ not found in this scope

error[E0425]: cannot find value `field` in this scope
  --> $DIR/resolve-assoc-suggestions.rs:20:9
   |
LL |         field;
   |         ^^^^^
   |
help: you might have meant to use the available field
   |
LL |         self.field;
   |         +++++

error[E0412]: cannot find type `Type` in this scope
  --> $DIR/resolve-assoc-suggestions.rs:23:16
   |
LL |         let _: Type;
   |                ^^^^
   |
help: you might have meant to use the associated type
   |
LL |         let _: Self::Type;
   |                ++++++

error[E0531]: cannot find tuple struct or tuple variant `Type` in this scope
  --> $DIR/resolve-assoc-suggestions.rs:25:13
   |
LL |         let Type(..);
   |             ^^^^ not found in this scope

error[E0425]: cannot find value `Type` in this scope
  --> $DIR/resolve-assoc-suggestions.rs:27:9
   |
LL |         Type;
   |         ^^^^ not found in this scope

error[E0412]: cannot find type `method` in this scope
  --> $DIR/resolve-assoc-suggestions.rs:30:16
   |
LL |         let _: method;
   |                ^^^^^^ not found in this scope

error[E0531]: cannot find tuple struct or tuple variant `method` in this scope
  --> $DIR/resolve-assoc-suggestions.rs:32:13
   |
LL |         let method(..);
   |             ^^^^^^ not found in this scope

error[E0425]: cannot find value `method` in this scope
  --> $DIR/resolve-assoc-suggestions.rs:34:9
   |
LL |         method;
   |         ^^^^^^
   |
help: you might have meant to refer to the method
   |
LL |         self.method;
   |         +++++

error: aborting due to 9 previous errors

Some errors have detailed explanations: E0412, E0425, E0531.
For more information about an error, try `rustc --explain E0412`.