fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0425]: cannot find value `this` in this scope 2 --> $DIR/issue-103474.rs:23:9 3 | 4LL | this.i 5 | ^^^^ not found in this scope 6 | 7help: you might have meant to use `self` here instead 8 | 9LL | self.i 10 | ~~~~ 11help: if you meant to use `self`, you are also missing a `self` receiver argument 12 | 13LL | fn needs_self(&self) { 14 | +++++ 15 16error[E0425]: cannot find function `first` in this scope 17 --> $DIR/issue-103474.rs:6:9 18 | 19LL | first() 20 | ^^^^^ not found in this scope 21 | 22help: consider using the method on `Self` 23 | 24LL | self.first() 25 | +++++ 26 27error[E0425]: cannot find function `no_method_err` in this scope 28 --> $DIR/issue-103474.rs:11:9 29 | 30LL | no_method_err() 31 | ^^^^^^^^^^^^^ not found in this scope 32 33error: aborting due to 3 previous errors 34 35For more information about this error, try `rustc --explain E0425`.