-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
46 additions
and
21 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
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
6 changes: 3 additions & 3 deletions
6
tests/ui/unknown-unstable-lints/deny-unstable-lint-command-line.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,18 +1,18 @@ | ||
error: unknown lint: `test_unstable_lint` | ||
| | ||
= note: the `test_unstable_lint` lint is unstable | ||
= help: add `#![feature(test_unstable_lint)]` to the crate attributes to enable | ||
= help: add `-Zcrate-attr="feature(test_unstable_lint)"` to the command-line options to enable | ||
= note: requested on the command line with `-D unknown-lints` | ||
|
||
error: unknown lint: `test_unstable_lint` | ||
| | ||
= note: the `test_unstable_lint` lint is unstable | ||
= help: add `#![feature(test_unstable_lint)]` to the crate attributes to enable | ||
= help: add `-Zcrate-attr="feature(test_unstable_lint)"` to the command-line options to enable | ||
|
||
error: unknown lint: `test_unstable_lint` | ||
| | ||
= note: the `test_unstable_lint` lint is unstable | ||
= help: add `#![feature(test_unstable_lint)]` to the crate attributes to enable | ||
= help: add `-Zcrate-attr="feature(test_unstable_lint)"` to the command-line options to enable | ||
|
||
error: aborting due to 3 previous errors | ||
|
6 changes: 3 additions & 3 deletions
6
tests/ui/unknown-unstable-lints/warn-unknown-unstable-lint-command-line.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,18 +1,18 @@ | ||
warning: unknown lint: `test_unstable_lint` | ||
| | ||
= note: the `test_unstable_lint` lint is unstable | ||
= help: add `#![feature(test_unstable_lint)]` to the crate attributes to enable | ||
= help: add `-Zcrate-attr="feature(test_unstable_lint)"` to the command-line options to enable | ||
= note: requested on the command line with `-W unknown-lints` | ||
|
||
warning: unknown lint: `test_unstable_lint` | ||
| | ||
= note: the `test_unstable_lint` lint is unstable | ||
= help: add `#![feature(test_unstable_lint)]` to the crate attributes to enable | ||
= help: add `-Zcrate-attr="feature(test_unstable_lint)"` to the command-line options to enable | ||
|
||
warning: unknown lint: `test_unstable_lint` | ||
| | ||
= note: the `test_unstable_lint` lint is unstable | ||
= help: add `#![feature(test_unstable_lint)]` to the crate attributes to enable | ||
= help: add `-Zcrate-attr="feature(test_unstable_lint)"` to the command-line options to enable | ||
|
||
warning: 3 warnings emitted | ||
|