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