1 error[E0425]: cannot find function `shave` in this scope
2 --> $DIR/issue-2356.rs:17:5
5 | ^^^^^ not found in this scope
7 error[E0425]: cannot find function `clone` in this scope
8 --> $DIR/issue-2356.rs:24:5
11 | ^^^^^ help: you might have meant to call the method: `self.clone`
13 error[E0425]: cannot find function `default` in this scope
14 --> $DIR/issue-2356.rs:31:5
19 help: you might have meant to call the associated function
23 help: consider importing this function
25 LL | use std::default::default;
28 error[E0425]: cannot find value `whiskers` in this scope
29 --> $DIR/issue-2356.rs:39:5
31 LL | whiskers -= other;
32 | ^^^^^^^^ a field by this name exists in `Self`
34 error[E0425]: cannot find function `shave` in this scope
35 --> $DIR/issue-2356.rs:41:5
38 | ^^^^^ help: you might have meant to call the associated function: `Self::shave`
40 error[E0425]: cannot find function `purr` in this scope
41 --> $DIR/issue-2356.rs:43:5
44 | ^^^^ not found in this scope
46 error[E0425]: cannot find function `static_method` in this scope
47 --> $DIR/issue-2356.rs:52:9
50 | ^^^^^^^^^^^^^ not found in this scope
52 help: consider using the associated function
54 LL | Self::static_method();
57 error[E0425]: cannot find function `purr` in this scope
58 --> $DIR/issue-2356.rs:54:9
61 | ^^^^ not found in this scope
63 error[E0425]: cannot find function `purr` in this scope
64 --> $DIR/issue-2356.rs:56:9
67 | ^^^^ not found in this scope
69 error[E0425]: cannot find function `purr` in this scope
70 --> $DIR/issue-2356.rs:58:9
73 | ^^^^ not found in this scope
75 error[E0424]: expected value, found module `self`
76 --> $DIR/issue-2356.rs:65:8
79 | ---- this function doesn't have a `self` parameter
80 LL | if self.whiskers > 3 {
81 | ^^^^ `self` value is a keyword only available in methods with a `self` parameter
83 help: add a `self` receiver parameter to make the associated `fn` a method
88 error[E0425]: cannot find function `grow_older` in this scope
89 --> $DIR/issue-2356.rs:72:5
92 | ^^^^^^^^^^ not found in this scope
94 help: consider using the associated function
96 LL | Self::grow_older();
99 error[E0425]: cannot find function `shave` in this scope
100 --> $DIR/issue-2356.rs:74:5
103 | ^^^^^ not found in this scope
105 error[E0425]: cannot find value `whiskers` in this scope
106 --> $DIR/issue-2356.rs:79:5
109 | ^^^^^^^^ help: you might have meant to use the available field: `self.whiskers`
111 error[E0425]: cannot find value `whiskers` in this scope
112 --> $DIR/issue-2356.rs:84:5
115 | ^^^^^^^^ a field by this name exists in `Self`
117 error[E0425]: cannot find function `purr_louder` in this scope
118 --> $DIR/issue-2356.rs:86:5
121 | ^^^^^^^^^^^ not found in this scope
123 error[E0424]: expected value, found module `self`
124 --> $DIR/issue-2356.rs:92:5
127 | ---- this function can't have a `self` parameter
129 | ^^^^ `self` value is a keyword only available in methods with a `self` parameter
131 error: aborting due to 17 previous errors
133 Some errors have detailed explanations: E0424, E0425.
134 For more information about an error, try `rustc --explain E0424`.