fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
517 B15 linesraw
1error[E0425]: cannot find value `bar` in this scope
2  --> $DIR/typo-suggestion.rs:5:26
3   |
4LL |     println!("Hello {}", bar);
5   |                          ^^^ not found in this scope
6
7error[E0425]: cannot find value `fob` in this scope
8  --> $DIR/typo-suggestion.rs:8:26
9   |
10LL |     println!("Hello {}", fob);
11   |                          ^^^ help: a local variable with a similar name exists: `foo`
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0425`.