1 error[E0425]: cannot find value `this` in this scope
2 --> $DIR/issue-103474.rs:23:9
5 | ^^^^ not found in this scope
7 help: you might have meant to use `self` here instead
11 help: if you meant to use `self`, you are also missing a `self` receiver argument
13 LL | fn needs_self(&self) {
16 error[E0425]: cannot find function `first` in this scope
17 --> $DIR/issue-103474.rs:6:9
20 | ^^^^^ not found in this scope
22 help: consider using the associated function
27 error[E0425]: cannot find function `no_method_err` in this scope
28 --> $DIR/issue-103474.rs:11:9
31 | ^^^^^^^^^^^^^ not found in this scope
33 error: aborting due to 3 previous errors
35 For more information about this error, try `rustc --explain E0425`.