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 error[E0425]: cannot find function `purr` in this scope
53 --> $DIR/issue-2356.rs:54:9
56 | ^^^^ not found in this scope
58 error[E0425]: cannot find function `purr` in this scope
59 --> $DIR/issue-2356.rs:56:9
62 | ^^^^ not found in this scope
64 error[E0425]: cannot find function `purr` in this scope
65 --> $DIR/issue-2356.rs:58:9
68 | ^^^^ not found in this scope
70 error[E0424]: expected value, found module `self`
71 --> $DIR/issue-2356.rs:65:8
74 | ---- this function doesn't have a `self` parameter
75 LL | if self.whiskers > 3 {
76 | ^^^^ `self` value is a keyword only available in methods with a `self` parameter
78 help: add a `self` receiver parameter to make the associated `fn` a method
83 error[E0425]: cannot find function `grow_older` in this scope
84 --> $DIR/issue-2356.rs:72:5
87 | ^^^^^^^^^^ not found in this scope
89 error[E0425]: cannot find function `shave` in this scope
90 --> $DIR/issue-2356.rs:74:5
93 | ^^^^^ not found in this scope
95 error[E0425]: cannot find value `whiskers` in this scope
96 --> $DIR/issue-2356.rs:79:5
99 | ^^^^^^^^ help: you might have meant to use the available field: `self.whiskers`
101 error[E0425]: cannot find value `whiskers` in this scope
102 --> $DIR/issue-2356.rs:84:5
105 | ^^^^^^^^ a field by this name exists in `Self`
107 error[E0425]: cannot find function `purr_louder` in this scope
108 --> $DIR/issue-2356.rs:86:5
111 | ^^^^^^^^^^^ not found in this scope
113 error[E0424]: expected value, found module `self`
114 --> $DIR/issue-2356.rs:92:5
117 | ---- this function can't have a `self` parameter
119 | ^^^^ `self` value is a keyword only available in methods with a `self` parameter
121 error: aborting due to 17 previous errors
123 Some errors have detailed explanations: E0424, E0425.
124 For more information about an error, try `rustc --explain E0424`.