rust/tests/ui/span/typo-suggestion.stderr
2023-01-11 09:32:08 +00:00

16 lines
517 B
Plaintext

error[E0425]: cannot find value `bar` in this scope
--> $DIR/typo-suggestion.rs:5:26
|
LL | println!("Hello {}", bar);
| ^^^ not found in this scope
error[E0425]: cannot find value `fob` in this scope
--> $DIR/typo-suggestion.rs:8:26
|
LL | println!("Hello {}", fob);
| ^^^ help: a local variable with a similar name exists: `foo`
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0425`.