fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
881 B27 linesraw
1error[E0425]: cannot find value `field` in this scope
2  --> $DIR/resolve-speculative-adjustment.rs:17:13
3   |
4LL |             field;
5   |             ^^^^^ not found in this scope
6
7error[E0425]: cannot find function `method` in this scope
8  --> $DIR/resolve-speculative-adjustment.rs:19:13
9   |
10LL |             method();
11   |             ^^^^^^ not found in this scope
12
13error[E0425]: cannot find value `field` in this scope
14  --> $DIR/resolve-speculative-adjustment.rs:23:9
15   |
16LL |         field;
17   |         ^^^^^ help: you might have meant to use the available field: `self.field`
18
19error[E0425]: cannot find function `method` in this scope
20  --> $DIR/resolve-speculative-adjustment.rs:25:9
21   |
22LL |         method();
23   |         ^^^^^^ help: try: `self.method`
24
25error: aborting due to 4 previous errors
26
27For more information about this error, try `rustc --explain E0425`.