forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ICE
rust-lang#90993
: add missing call to cancel
- Loading branch information
Showing
3 changed files
with
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
fn main() { | ||
...=. | ||
//~^ ERROR: unexpected token: `...` | ||
//~| ERROR: unexpected `=` after inclusive range | ||
//~| ERROR: expected one of `-`, `;`, `}`, or path, found `.` | ||
} |
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,31 @@ | ||
error: unexpected token: `...` | ||
--> $DIR/issue-90993.rs:2:5 | ||
| | ||
LL | ...=. | ||
| ^^^ | ||
| | ||
help: use `..` for an exclusive range | ||
| | ||
LL | ..=. | ||
| ~~ | ||
help: or `..=` for an inclusive range | ||
| | ||
LL | ..==. | ||
| ~~~ | ||
|
||
error: unexpected `=` after inclusive range | ||
--> $DIR/issue-90993.rs:2:5 | ||
| | ||
LL | ...=. | ||
| ^^^^ help: use `..=` instead | ||
| | ||
= note: inclusive ranges end with a single equals sign (`..=`) | ||
|
||
error: expected one of `-`, `;`, `}`, or path, found `.` | ||
--> $DIR/issue-90993.rs:2:9 | ||
| | ||
LL | ...=. | ||
| ^ expected one of `-`, `;`, `}`, or path | ||
|
||
error: aborting due to 3 previous errors | ||
|