]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/issue-103474.stderr
Rollup merge of #106692 - eggyal:mv-binary_heap.rs-binary_heap/mod.rs, r=Mark-Simulacrum
[rust.git] / tests / ui / resolve / issue-103474.stderr
1 error[E0425]: cannot find value `this` in this scope
2   --> $DIR/issue-103474.rs:23:9
3    |
4 LL |         this.i
5    |         ^^^^ not found in this scope
6    |
7 help: you might have meant to use `self` here instead
8    |
9 LL |         self.i
10    |         ~~~~
11 help: if you meant to use `self`, you are also missing a `self` receiver argument
12    |
13 LL |     fn needs_self(&self) {
14    |                   +++++
15
16 error[E0425]: cannot find function `first` in this scope
17   --> $DIR/issue-103474.rs:6:9
18    |
19 LL |         first()
20    |         ^^^^^ not found in this scope
21    |
22 help: consider using the associated function
23    |
24 LL |         self.first()
25    |         +++++
26
27 error[E0425]: cannot find function `no_method_err` in this scope
28   --> $DIR/issue-103474.rs:11:9
29    |
30 LL |         no_method_err()
31    |         ^^^^^^^^^^^^^ not found in this scope
32
33 error: aborting due to 3 previous errors
34
35 For more information about this error, try `rustc --explain E0425`.