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