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;
25 | `self` value is a keyword only available in methods with `self` parameter
26 | help: try: `self.whiskers`
28 error[E0425]: cannot find function `shave` in this scope
29 --> $DIR/issue-2356.rs:41:5
32 | ^^^^^ help: try: `Self::shave`
34 error[E0425]: cannot find function `purr` in this scope
35 --> $DIR/issue-2356.rs:43:5
38 | ^^^^ not found in this scope
40 error[E0425]: cannot find function `static_method` in this scope
41 --> $DIR/issue-2356.rs:52:9
44 | ^^^^^^^^^^^^^ not found in this scope
46 error[E0425]: cannot find function `purr` in this scope
47 --> $DIR/issue-2356.rs:54:9
50 | ^^^^ not found in this scope
52 error[E0425]: cannot find function `purr` in this scope
53 --> $DIR/issue-2356.rs:56:9
56 | ^^^^ not found in this scope
58 error[E0425]: cannot find function `purr` in this scope
59 --> $DIR/issue-2356.rs:58:9
62 | ^^^^ not found in this scope
64 error[E0424]: expected value, found module `self`
65 --> $DIR/issue-2356.rs:65:8
67 LL | if self.whiskers > 3 {
68 | ^^^^ `self` value is a keyword only available in methods with `self` parameter
70 error[E0425]: cannot find function `grow_older` in this scope
71 --> $DIR/issue-2356.rs:72:5
74 | ^^^^^^^^^^ not found in this scope
76 error[E0425]: cannot find function `shave` in this scope
77 --> $DIR/issue-2356.rs:74:5
80 | ^^^^^ not found in this scope
82 error[E0425]: cannot find value `whiskers` in this scope
83 --> $DIR/issue-2356.rs:79:5
86 | ^^^^^^^^ help: try: `self.whiskers`
88 error[E0425]: cannot find value `whiskers` in this scope
89 --> $DIR/issue-2356.rs:84:5
94 | `self` value is a keyword only available in methods with `self` parameter
95 | help: try: `self.whiskers`
97 error[E0425]: cannot find function `purr_louder` in this scope
98 --> $DIR/issue-2356.rs:86:5
101 | ^^^^^^^^^^^ not found in this scope
103 error[E0424]: expected value, found module `self`
104 --> $DIR/issue-2356.rs:92:5
107 | ^^^^ `self` value is a keyword only available in methods with `self` parameter
109 error: aborting due to 17 previous errors
111 Some errors occurred: E0424, E0425.
112 For more information about an error, try `rustc --explain E0424`.