forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of rust-lang#122888 - matthiaskrgr:evenmoretests, r=compiler-errors add a couple more tests
- Loading branch information
Showing
4 changed files
with
50 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// ICE #105210 self.lines.iter().all(|r| !r.iter().any(|sc| sc.chr == \'\\t\')) | ||
// ignore-tidy-tab | ||
//@ edition:2021 | ||
pub fn main() {} | ||
|
||
fn box () { | ||
(( h (const {( default ( await ( await ( (move {await((((}} | ||
//~^ ERROR mismatched closing delimiter: `}` | ||
//~^^ ERROR mismatched closing delimiter: `}` | ||
//~ ERROR this file contains an unclosed delimiter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
error: mismatched closing delimiter: `}` | ||
--> $DIR/parser-ice-ed2021-await-105210.rs:7:58 | ||
| | ||
LL | (( h (const {( default ( await ( await ( (move {await((((}} | ||
| - ^^ mismatched closing delimiter | ||
| | | | ||
| | unclosed delimiter | ||
| closing delimiter possibly meant for this | ||
|
||
error: mismatched closing delimiter: `}` | ||
--> $DIR/parser-ice-ed2021-await-105210.rs:7:43 | ||
| | ||
LL | (( h (const {( default ( await ( await ( (move {await((((}} | ||
| - ^ ^ mismatched closing delimiter | ||
| | | | ||
| | unclosed delimiter | ||
| closing delimiter possibly meant for this | ||
|
||
error: this file contains an unclosed delimiter | ||
--> $DIR/parser-ice-ed2021-await-105210.rs:10:52 | ||
| | ||
LL | fn box () { | ||
| - unclosed delimiter | ||
LL | (( h (const {( default ( await ( await ( (move {await((((}} | ||
| -- - unclosed delimiter | ||
| || | ||
| |unclosed delimiter | ||
| unclosed delimiter | ||
... | ||
LL | | ||
| ^ | ||
|
||
error: aborting due to 3 previous errors | ||
|