-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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 #68880 - JohnTitor:issue-non-zero, r=Dylan-DPC
- Loading branch information
Showing
5 changed files
with
37 additions
and
23 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
12 changes: 10 additions & 2 deletions
12
src/test/ui/feature-gate/unstable-attribute-allow-issue-0.stderr
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,10 +1,18 @@ | ||
error[E0545]: `issue` must be a numeric string or "none" | ||
error[E0545]: `issue` must be a non-zero numeric string or "none" | ||
--> $DIR/unstable-attribute-allow-issue-0.rs:6:47 | ||
| | ||
LL | #[unstable(feature = "unstable_test_feature", issue = "0")] | ||
| ^^^^^^^^--- | ||
| | | ||
| `issue` must not be "0", use "none" instead | ||
|
||
error[E0545]: `issue` must be a non-zero numeric string or "none" | ||
--> $DIR/unstable-attribute-allow-issue-0.rs:12:47 | ||
| | ||
LL | #[unstable(feature = "unstable_test_feature", issue = "something")] | ||
| ^^^^^^^^----------- | ||
| | | ||
| invalid digit found in string | ||
|
||
error: aborting due to previous error | ||
error: aborting due to 2 previous errors | ||
|
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