2016-11-30 16:35:25 -06:00
|
|
|
error: incorrect close delimiter: `}`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/token-error-correct.rs:6:1
|
2016-11-30 16:35:25 -06:00
|
|
|
|
|
2018-09-04 10:09:49 -05:00
|
|
|
LL | fn main() {
|
|
|
|
| - close delimiter possibly meant for this
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | foo(bar(;
|
2018-08-26 19:22:36 -05:00
|
|
|
| - un-closed delimiter
|
2019-03-09 06:03:44 -06:00
|
|
|
LL |
|
2018-08-14 20:04:20 -05:00
|
|
|
LL | }
|
|
|
|
| ^ incorrect close delimiter
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2019-02-05 04:25:06 -06:00
|
|
|
error[E0425]: cannot find function `bar` in this scope
|
|
|
|
--> $DIR/token-error-correct.rs:4:9
|
|
|
|
|
|
|
|
|
LL | foo(bar(;
|
|
|
|
| ^^^ not found in this scope
|
|
|
|
|
2018-08-15 16:26:03 -05:00
|
|
|
error: aborting due to 2 previous errors
|
2016-11-30 16:35:25 -06:00
|
|
|
|
2019-02-05 04:25:06 -06:00
|
|
|
For more information about this error, try `rustc --explain E0425`.
|