fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
856 B30 linesraw
1error[E0425]: cannot find value `this` in this scope
2  --> $DIR/suggest-self.rs:21:9
3   |
4LL |         this.x
5   |         ^^^^
6   |         |
7   |         not found in this scope
8   |         help: you might have meant to use `self` here instead
9
10error[E0425]: cannot find value `this` in this scope
11  --> $DIR/suggest-self.rs:26:9
12   |
13LL |         this.foo()
14   |         ^^^^
15   |         |
16   |         not found in this scope
17   |         help: you might have meant to use `self` here instead
18
19error[E0425]: cannot find value `my` in this scope
20  --> $DIR/suggest-self.rs:31:9
21   |
22LL |         my.bar()
23   |         ^^
24   |         |
25   |         not found in this scope
26   |         help: you might have meant to use `self` here instead
27
28error: aborting due to 3 previous errors
29
30For more information about this error, try `rustc --explain E0425`.