]>
Commit | Line | Data |
---|---|---|
32a655c1 SL |
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(); | |
041b39d2 | 11 | | ^^^^^ help: try: `self.clone` |
32a655c1 SL |
12 | |
13 | error[E0425]: cannot find function `default` in this scope | |
14 | --> $DIR/issue-2356.rs:43:5 | |
15 | | | |
16 | 43 | default(); | |
041b39d2 | 17 | | ^^^^^^^ help: try: `Self::default` |
32a655c1 SL |
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 | | | | |
041b39d2 | 25 | | help: try: `self.whiskers` |
32a655c1 SL |
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); | |
041b39d2 | 32 | | ^^^^^ help: try: `Self::shave` |
32a655c1 SL |
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; | |
041b39d2 | 86 | | ^^^^^^^^ help: try: `self.whiskers` |
32a655c1 SL |
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 | | | | |
041b39d2 | 94 | | help: try: `self.whiskers` |
32a655c1 SL |
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 | ||
041b39d2 | 109 | error: aborting due to 17 previous errors |
32a655c1 | 110 |