]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/issue-2356.stderr
Rollup merge of #57418 - lqd:collector_query, r=michaelwoerister
[rust.git] / src / test / ui / resolve / issue-2356.stderr
1 error[E0425]: cannot find function `shave` in this scope
2   --> $DIR/issue-2356.rs:17:5
3    |
4 LL |     shave();
5    |     ^^^^^ not found in this scope
6
7 error[E0425]: cannot find function `clone` in this scope
8   --> $DIR/issue-2356.rs:24:5
9    |
10 LL |     clone();
11    |     ^^^^^ help: try: `self.clone`
12
13 error[E0425]: cannot find function `default` in this scope
14   --> $DIR/issue-2356.rs:31:5
15    |
16 LL |     default();
17    |     ^^^^^^^ help: try: `Self::default`
18
19 error[E0425]: cannot find value `whiskers` in this scope
20   --> $DIR/issue-2356.rs:39:5
21    |
22 LL |     whiskers -= other;
23    |     ^^^^^^^^
24    |     |
25    |     `self` value is a keyword only available in methods with `self` parameter
26    |     help: try: `self.whiskers`
27
28 error[E0425]: cannot find function `shave` in this scope
29   --> $DIR/issue-2356.rs:41:5
30    |
31 LL |     shave(4);
32    |     ^^^^^ help: try: `Self::shave`
33
34 error[E0425]: cannot find function `purr` in this scope
35   --> $DIR/issue-2356.rs:43:5
36    |
37 LL |     purr();
38    |     ^^^^ not found in this scope
39
40 error[E0425]: cannot find function `static_method` in this scope
41   --> $DIR/issue-2356.rs:52:9
42    |
43 LL |         static_method();
44    |         ^^^^^^^^^^^^^ not found in this scope
45
46 error[E0425]: cannot find function `purr` in this scope
47   --> $DIR/issue-2356.rs:54:9
48    |
49 LL |         purr();
50    |         ^^^^ not found in this scope
51
52 error[E0425]: cannot find function `purr` in this scope
53   --> $DIR/issue-2356.rs:56:9
54    |
55 LL |         purr();
56    |         ^^^^ not found in this scope
57
58 error[E0425]: cannot find function `purr` in this scope
59   --> $DIR/issue-2356.rs:58:9
60    |
61 LL |         purr();
62    |         ^^^^ not found in this scope
63
64 error[E0424]: expected value, found module `self`
65   --> $DIR/issue-2356.rs:65:8
66    |
67 LL |     if self.whiskers > 3 {
68    |        ^^^^ `self` value is a keyword only available in methods with `self` parameter
69
70 error[E0425]: cannot find function `grow_older` in this scope
71   --> $DIR/issue-2356.rs:72:5
72    |
73 LL |     grow_older();
74    |     ^^^^^^^^^^ not found in this scope
75
76 error[E0425]: cannot find function `shave` in this scope
77   --> $DIR/issue-2356.rs:74:5
78    |
79 LL |     shave();
80    |     ^^^^^ not found in this scope
81
82 error[E0425]: cannot find value `whiskers` in this scope
83   --> $DIR/issue-2356.rs:79:5
84    |
85 LL |     whiskers = 0;
86    |     ^^^^^^^^ help: try: `self.whiskers`
87
88 error[E0425]: cannot find value `whiskers` in this scope
89   --> $DIR/issue-2356.rs:84:5
90    |
91 LL |     whiskers = 4;
92    |     ^^^^^^^^
93    |     |
94    |     `self` value is a keyword only available in methods with `self` parameter
95    |     help: try: `self.whiskers`
96
97 error[E0425]: cannot find function `purr_louder` in this scope
98   --> $DIR/issue-2356.rs:86:5
99    |
100 LL |     purr_louder();
101    |     ^^^^^^^^^^^ not found in this scope
102
103 error[E0424]: expected value, found module `self`
104   --> $DIR/issue-2356.rs:92:5
105    |
106 LL |     self += 1;
107    |     ^^^^ `self` value is a keyword only available in methods with `self` parameter
108
109 error: aborting due to 17 previous errors
110
111 Some errors occurred: E0424, E0425.
112 For more information about an error, try `rustc --explain E0424`.