Exit when there are unmatched delims to avoid noisy diagnostics
This commit is contained in:
parent
f0bc76ac41
commit
f01d0c02e7
99 changed files with 254 additions and 1279 deletions
|
@ -1,16 +1,10 @@
|
|||
error: this file contains an unclosed delimiter
|
||||
--> $DIR/issue-84104.rs:3:13
|
||||
--> $DIR/issue-84104.rs:2:13
|
||||
|
|
||||
LL | #[i=i::<ښܖ<
|
||||
| - ^
|
||||
| |
|
||||
| unclosed delimiter
|
||||
|
||||
error: expected one of `>`, a const expression, lifetime, or type, found `]`
|
||||
--> $DIR/issue-84104.rs:3:13
|
||||
|
|
||||
LL | #[i=i::<ښܖ<
|
||||
| ^ expected one of `>`, a const expression, lifetime, or type
|
||||
|
||||
error: aborting due to 2 previous errors
|
||||
error: aborting due to previous error
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue