rust/tests/ui/parser/parser-recovery-1.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

16 lines
441 B
Text

error: this file contains an unclosed delimiter
--> $DIR/parser-recovery-1.rs:10:54
|
LL | trait Foo {
| - unclosed delimiter
LL | fn bar() {
| - this delimiter might not be properly closed...
LL | let x = foo();
LL | }
| - ...as it matches this but it has different indentation
...
LL | }
| ^
error: aborting due to 1 previous error