-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compilation of panic!() when the arg is another macro. (#1407)
- Loading branch information
Showing
8 changed files
with
52 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
Failed Checks: concat!("Panic: {} code: ", 10), msg | ||
Failed Checks: msg | ||
Failed Checks: explicit panic | ||
Failed Checks: Panic message | ||
Failed Checks: "Panic message with arg {}", "str" | ||
Failed Checks: "{}", msg | ||
|
||
Failed Checks: concat!("ArrayVec::", "try_insert",\ | ||
": index {} is out of bounds in vector of length {}"),\ | ||
5, 3 |
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,5 +1,10 @@ | ||
Failed Checks: concat!("Panic: {} code: ", 10), msg | ||
Failed Checks: msg | ||
Failed Checks: explicit panic | ||
Failed Checks: Panic message | ||
Failed Checks: "Panic message with arg {}", "str" | ||
Failed Checks: "{}", msg | ||
|
||
Failed Checks: concat!("ArrayVec::", "try_insert",\ | ||
": index {} is out of bounds in vector of length {}"),\ | ||
5, 3 |
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
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