fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
775 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: did you mean: `self`
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: did you mean: `self`
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: did you mean: `self`
27
28error: aborting due to 3 previous errors
29
30For more information about this error, try `rustc --explain E0425`.