rust/tests/ui/span/typo-suggestion.stderr

16 lines
517 B
Plaintext
Raw Normal View History

error[E0425]: cannot find value `bar` in this scope
2018-12-25 09:56:47 -06:00
--> $DIR/typo-suggestion.rs:5:26
2016-09-26 18:05:46 -05:00
|
2019-03-09 06:03:44 -06:00
LL | println!("Hello {}", bar);
| ^^^ not found in this scope
2016-09-26 18:05:46 -05:00
error[E0425]: cannot find value `fob` in this scope
2018-12-25 09:56:47 -06:00
--> $DIR/typo-suggestion.rs:8:26
2016-09-26 18:05:46 -05:00
|
2019-03-09 06:03:44 -06:00
LL | println!("Hello {}", fob);
| ^^^ help: a local variable with a similar name exists: `foo`
2016-09-26 18:05:46 -05:00
error: aborting due to 2 previous errors
2016-09-26 18:05:46 -05:00
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0425`.