-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from dtolnay/workaround
Remove 'rustc is so bad at spans' workaround
- Loading branch information
Showing
5 changed files
with
11 additions
and
33 deletions.
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 |
---|---|---|
@@ -1,7 +1,5 @@ | ||
error: E::Bbb should sort before E::Ccc | ||
--> tests/ui/let-unstable.rs:15:5 | ||
--> tests/ui/let-unstable.rs:20:9 | ||
| | ||
15 | #[sorted] | ||
| ^^^^^^^^^ | ||
| | ||
= note: this error originates in the attribute macro `sorted` (in Nightly builds, run with -Z macro-backtrace for more info) | ||
20 | E::Bbb(_, _) => {} | ||
| ^^^^^^ |
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 |
---|---|---|
@@ -1,7 +1,5 @@ | ||
error: E::Bbb should sort before E::Ccc | ||
--> tests/ui/match-unstable.rs:15:5 | ||
--> tests/ui/match-unstable.rs:20:9 | ||
| | ||
15 | #[sorted] | ||
| ^^^^^^^^^ | ||
| | ||
= note: this error originates in the attribute macro `sorted` (in Nightly builds, run with -Z macro-backtrace for more info) | ||
20 | E::Bbb(_, _) => {} | ||
| ^^^^^^ |
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 |
---|---|---|
@@ -1,7 +1,5 @@ | ||
error: E::Bbb should sort before E::Ddd | ||
--> tests/ui/unsorted-match-unstable.rs:15:5 | ||
--> tests/ui/unsorted-match-unstable.rs:21:9 | ||
| | ||
15 | #[sorted] | ||
| ^^^^^^^^^ | ||
| | ||
= note: this error originates in the attribute macro `sorted` (in Nightly builds, run with -Z macro-backtrace for more info) | ||
21 | E::Bbb(_, _) => {} | ||
| ^^^^^^ |