2017-01-11 22:18:08 +00:00
|
|
|
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);
|
2017-01-11 22:18:08 +00:00
|
|
|
| ^^^ not found in this scope
|
2016-09-26 23:05:46 +00:00
|
|
|
|
2017-01-11 22:18:08 +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);
|
2019-01-09 19:11:00 +00:00
|
|
|
| ^^^ help: a local variable with a similar name exists: `foo`
|
2016-09-26 23:05:46 +00:00
|
|
|
|
2017-07-02 10:49:30 +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`.
|