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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
517 B
Plaintext
Raw Normal View History

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