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: try: `self.clone`
13 error[E0425]: cannot find function `default` in this scope
14 --> $DIR/issue-2356.rs:31:5
17 | ^^^^^^^ help: try: `Self::default`
19 error[E0425]: cannot find value `whiskers` in this scope
20 --> $DIR/issue-2356.rs:39:5
22 LL | whiskers -= other;
23 | ^^^^^^^^ a field by this name exists in `Self`
25 error[E0425]: cannot find function `shave` in this scope
26 --> $DIR/issue-2356.rs:41:5
29 | ^^^^^ help: try: `Self::shave`
31 error[E0425]: cannot find function `purr` in this scope
32 --> $DIR/issue-2356.rs:43:5
35 | ^^^^ not found in this scope
37 error[E0425]: cannot find function `static_method` in this scope
38 --> $DIR/issue-2356.rs:52:9
41 | ^^^^^^^^^^^^^ not found in this scope
43 error[E0425]: cannot find function `purr` in this scope
44 --> $DIR/issue-2356.rs:54:9
47 | ^^^^ not found in this scope
49 error[E0425]: cannot find function `purr` in this scope
50 --> $DIR/issue-2356.rs:56:9
53 | ^^^^ not found in this scope
55 error[E0425]: cannot find function `purr` in this scope
56 --> $DIR/issue-2356.rs:58:9
59 | ^^^^ not found in this scope
61 error[E0424]: expected value, found module `self`
62 --> $DIR/issue-2356.rs:65:8
64 LL | if self.whiskers > 3 {
65 | ^^^^ `self` value is a keyword only available in methods with `self` parameter
67 error[E0425]: cannot find function `grow_older` in this scope
68 --> $DIR/issue-2356.rs:72:5
71 | ^^^^^^^^^^ not found in this scope
73 error[E0425]: cannot find function `shave` in this scope
74 --> $DIR/issue-2356.rs:74:5
77 | ^^^^^ not found in this scope
79 error[E0425]: cannot find value `whiskers` in this scope
80 --> $DIR/issue-2356.rs:79:5
83 | ^^^^^^^^ help: you might have meant to use the available field: `self.whiskers`
85 error[E0425]: cannot find value `whiskers` in this scope
86 --> $DIR/issue-2356.rs:84:5
89 | ^^^^^^^^ a field by this name exists in `Self`
91 error[E0425]: cannot find function `purr_louder` in this scope
92 --> $DIR/issue-2356.rs:86:5
95 | ^^^^^^^^^^^ not found in this scope
97 error[E0424]: expected value, found module `self`
98 --> $DIR/issue-2356.rs:92:5
101 | ^^^^ `self` value is a keyword only available in methods with `self` parameter
103 error: aborting due to 17 previous errors
105 Some errors have detailed explanations: E0424, E0425.
106 For more information about an error, try `rustc --explain E0424`.