2016-11-30 16:35:25 -06:00
|
|
|
error: incorrect close delimiter: `)`
|
2017-12-10 14:29:24 -06:00
|
|
|
--> $DIR/token-error-correct-2.rs:16:5
|
2016-11-30 16:35:25 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | if foo {
|
2018-08-26 19:22:36 -05:00
|
|
|
| - un-closed delimiter
|
2018-08-14 20:04:20 -05:00
|
|
|
LL | //~^ ERROR: cannot find value `foo`
|
|
|
|
LL | ) //~ ERROR: incorrect close delimiter: `)`
|
|
|
|
| ^ incorrect close delimiter
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2017-01-11 16:18:08 -06:00
|
|
|
error[E0425]: cannot find value `foo` in this scope
|
2016-11-30 16:35:25 -06:00
|
|
|
--> $DIR/token-error-correct-2.rs:14:8
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | if foo {
|
2017-01-11 16:18:08 -06:00
|
|
|
| ^^^ not found in this scope
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2017-07-02 05:49:30 -05:00
|
|
|
error: aborting due to 2 previous errors
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0425`.
|