2016-12-01 01:35:25 +03:00
|
|
|
error: incorrect close delimiter: `}`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/token-error-correct.rs:6:1
|
2016-12-01 01:35:25 +03:00
|
|
|
|
|
2018-09-04 08:09:49 -07:00
|
|
|
LL | fn main() {
|
|
|
|
| - close delimiter possibly meant for this
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | foo(bar(;
|
2018-08-26 17:22:36 -07:00
|
|
|
| - un-closed delimiter
|
2019-02-05 02:25:06 -08:00
|
|
|
LL | //~^ ERROR cannot find function `bar` in this scope
|
2018-08-14 18:04:20 -07:00
|
|
|
LL | }
|
|
|
|
| ^ incorrect close delimiter
|
2016-12-01 01:35:25 +03:00
|
|
|
|
2019-02-05 02:25:06 -08: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 14:26:03 -07:00
|
|
|
error: aborting due to 2 previous errors
|
2016-12-01 01:35:25 +03:00
|
|
|
|
2019-02-05 02:25:06 -08:00
|
|
|
For more information about this error, try `rustc --explain E0425`.
|