diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2024-02-13 20:19:17 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2024-02-13 20:27:43 +0000 |
| commit | 24b52fd9df22bb95de92c97407a77229ebf8102c (patch) | |
| tree | 972d30ed4fe56d336ddc89f02ddb0990437eb2e5 /tests/ui/pattern | |
| parent | eaff1af8fdd18ee3eb05167b2836042b7d4315f6 (diff) | |
| download | rust-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.stderr | 6 |
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)]` |
