about summary refs log tree commit diff
path: root/tests/ui/pattern
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2024-02-13 20:19:17 +0000
committerEsteban Küber <esteban@kuber.com.ar>2024-02-13 20:27:43 +0000
commit24b52fd9df22bb95de92c97407a77229ebf8102c (patch)
tree972d30ed4fe56d336ddc89f02ddb0990437eb2e5 /tests/ui/pattern
parenteaff1af8fdd18ee3eb05167b2836042b7d4315f6 (diff)
downloadrust-24b52fd9df22bb95de92c97407a77229ebf8102c.tar.gz
rust-24b52fd9df22bb95de92c97407a77229ebf8102c.zip
Do not point at `#[allow(_)]` as the reason for compat lint triggering
Fix #121009.
Diffstat (limited to 'tests/ui/pattern')
-rw-r--r--tests/ui/pattern/usefulness/const-partial_eq-fallback-ice.stderr6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/ui/pattern/usefulness/const-partial_eq-fallback-ice.stderr b/tests/ui/pattern/usefulness/const-partial_eq-fallback-ice.stderr
index 59b454d3981..2a1cd3a7aa4 100644
--- a/tests/ui/pattern/usefulness/const-partial_eq-fallback-ice.stderr
+++ b/tests/ui/pattern/usefulness/const-partial_eq-fallback-ice.stderr
@@ -20,10 +20,4 @@ LL |     if let CONSTANT = &&MyType {
    = note: for more information, see issue #120362 <https://github.com/rust-lang/rust/issues/120362>
    = note: the traits must be derived, manual `impl`s are not sufficient
    = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details
-note: the lint level is defined here
-  --> $DIR/const-partial_eq-fallback-ice.rs:1:10
-   |
-LL | #![allow(warnings)]
-   |          ^^^^^^^^
-   = note: `#[allow(indirect_structural_match)]` implied by `#[allow(warnings)]`