Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 2 Packages Projects Releases Wiki Activity
Files
359bfa901b9d8eddbed7b88b6716dbb77b7bfb95
rust/tests/ui/unknown-unstable-lints/warn-unknown-unstable-lint-command-line.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
216 B
Rust
Raw Normal View History

compiletest: Require `//~` annotations even if `error-pattern` is specified
2025-03-29 02:41:32 +03:00
//~ WARN unknown lint: `test_unstable_lint`
UI tests: migrate remaining compile time `error-pattern`s to line annotations when possible.
2025-04-12 22:40:34 +03:00
//~^ NOTE the `test_unstable_lint` lint is unstable
Switch the primary diagnostic to `unknown_lints` This also affects the `non_exhaustive_omitted_patterns` and `must_not_suspend` lints as they are not stable. This also changes the diagnostic level to pull from `unknown_lints` instead of always being allow or deny.
2022-02-28 20:29:06 +00:00
//@ check-pass
//@ compile-flags: -Wunknown_lints -Atest_unstable_lint
UI tests: migrate remaining compile time `error-pattern`s to line annotations when possible.
2025-04-12 22:40:34 +03:00
//@ dont-require-annotations: NOTE
Switch the primary diagnostic to `unknown_lints` This also affects the `non_exhaustive_omitted_patterns` and `must_not_suspend` lints as they are not stable. This also changes the diagnostic level to pull from `unknown_lints` instead of always being allow or deny.
2022-02-28 20:29:06 +00:00
fn main() {}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 1695ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API