diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2025-04-12 22:40:34 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2025-04-13 21:48:53 +0300 |
| commit | 93bee0789a45ea7d5d65bb9301c4ad5ece3abeb2 (patch) | |
| tree | 8202c945e49e3034cfa410245a935b14f7b4ce50 /tests/ui/unknown-unstable-lints/deny-unstable-lint-command-line.rs | |
| parent | 092a284ba0421695f2032c947765429fd7095796 (diff) | |
| download | rust-93bee0789a45ea7d5d65bb9301c4ad5ece3abeb2.tar.gz rust-93bee0789a45ea7d5d65bb9301c4ad5ece3abeb2.zip | |
UI tests: migrate remaining compile time `error-pattern`s to line annotations
when possible.
Diffstat (limited to 'tests/ui/unknown-unstable-lints/deny-unstable-lint-command-line.rs')
| -rw-r--r-- | tests/ui/unknown-unstable-lints/deny-unstable-lint-command-line.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ui/unknown-unstable-lints/deny-unstable-lint-command-line.rs b/tests/ui/unknown-unstable-lints/deny-unstable-lint-command-line.rs index 9304e20b429..6005bc96ad6 100644 --- a/tests/ui/unknown-unstable-lints/deny-unstable-lint-command-line.rs +++ b/tests/ui/unknown-unstable-lints/deny-unstable-lint-command-line.rs @@ -1,6 +1,7 @@ //~ ERROR unknown lint: `test_unstable_lint` +//~^ NOTE the `test_unstable_lint` lint is unstable //@ check-fail //@ compile-flags: -Dunknown_lints -Atest_unstable_lint -//@ error-pattern: the `test_unstable_lint` lint is unstable +//@ dont-require-annotations: NOTE fn main() {} |
