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
|
@ -2,7 +2,7 @@ fn foo() {}
|
|||
|
||||
fn bar() -> [u8; 2] {
|
||||
foo()
|
||||
[1, 3) //~ ERROR expected one of `.`, `?`, `]`, or an operator, found `,`
|
||||
[1, 3) //~ ERROR mismatched closing delimiter
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue