We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
allow-non-lint-warnings.rs
1 parent 8194548 commit ee9e8d2Copy full SHA for ee9e8d2
tests/ui/allow-non-lint-warnings.rs
@@ -1,3 +1,15 @@
1
+// ignore-tidy-linelength
2
+//! Check that `-A warnings` cli flag applies to *all* warnings, including feature gate warnings.
3
+//!
4
+//! This test tries to exercise that by checking that the "empty trait list for derive" warning for
5
+//! `#[derive()]` is permitted by `-A warnings`, which is a non-lint warning.
6
7
+//! # Relevant context
8
9
+//! - Original impl PR: <https://github.com/rust-lang/rust/pull/21248>.
10
+//! - RFC 507 "Release channels":
11
+//! <https://github.com/rust-lang/rfcs/blob/c017755b9bfa0421570d92ba38082302e0f3ad4f/text/0507-release-channels.md>.
12
+
13
//@ compile-flags: -Awarnings
14
//@ check-pass
15
0 commit comments