rust/tests/ui/parser/issues/issue-62894.stderr

51 lines
1.5 KiB
Plaintext
Raw Normal View History

2020-02-16 02:54:33 +09:00
error: this file contains an unclosed delimiter
--> $DIR/issue-62894.rs:7:14
2020-02-16 02:54:33 +09:00
|
LL | fn f() { assert_eq!(f(), (), assert_eq!(assert_eq!
| - - - unclosed delimiter
| | |
| | unclosed delimiter
| unclosed delimiter
2022-06-08 21:07:59 +03:00
LL |
2020-02-16 02:54:33 +09:00
LL | fn main() {}
| ^
error: this file contains an unclosed delimiter
--> $DIR/issue-62894.rs:7:14
2020-02-16 02:54:33 +09:00
|
LL | fn f() { assert_eq!(f(), (), assert_eq!(assert_eq!
| - - - unclosed delimiter
| | |
| | unclosed delimiter
| unclosed delimiter
2022-06-08 21:07:59 +03:00
LL |
2020-02-16 02:54:33 +09:00
LL | fn main() {}
| ^
error: this file contains an unclosed delimiter
--> $DIR/issue-62894.rs:7:14
2020-02-16 02:54:33 +09:00
|
LL | fn f() { assert_eq!(f(), (), assert_eq!(assert_eq!
| - - - unclosed delimiter
| | |
| | unclosed delimiter
| unclosed delimiter
2022-06-08 21:07:59 +03:00
LL |
2020-02-16 02:54:33 +09:00
LL | fn main() {}
| ^
error: expected one of `(`, `[`, or `{`, found keyword `fn`
--> $DIR/issue-62894.rs:7:1
2020-02-16 02:54:33 +09:00
|
LL | fn f() { assert_eq!(f(), (), assert_eq!(assert_eq!
| - expected one of `(`, `[`, or `{`
2022-06-08 21:07:59 +03:00
LL |
2020-02-16 02:54:33 +09:00
LL | fn main() {}
| ^^ unexpected token
--> $SRC_DIR/core/src/macros/mod.rs:LL:COL
|
= note: while parsing argument for this `expr` macro fragment
2020-02-16 02:54:33 +09:00
error: aborting due to 4 previous errors