about summary refs log tree commit diff
path: root/tests/ui/fn
diff options
context:
space:
mode:
authorKarol Zwolak <karolzwolak7@gmail.com>2025-04-28 13:47:25 +0200
committerKarol Zwolak <karolzwolak7@gmail.com>2025-08-19 21:27:10 +0200
commitd14b83e378c421dd09320ace833a9d47848e3046 (patch)
tree55b00c6b283b4b20092e81ebcf8485b817b27d92 /tests/ui/fn
parent9a29e1693d5122990dcd6c87a5a7b2b2b85f10da (diff)
downloadrust-d14b83e378c421dd09320ace833a9d47848e3046.tar.gz
rust-d14b83e378c421dd09320ace833a9d47848e3046.zip
bless tests with new lint messages
Diffstat (limited to 'tests/ui/fn')
-rw-r--r--tests/ui/fn/error-recovery-mismatch.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/fn/error-recovery-mismatch.stderr b/tests/ui/fn/error-recovery-mismatch.stderr
index 10dab3052be..b4293500b3b 100644
--- a/tests/ui/fn/error-recovery-mismatch.stderr
+++ b/tests/ui/fn/error-recovery-mismatch.stderr
@@ -27,7 +27,7 @@ LL |     fn fold<T>(&self, _: T, &self._) {}
    |
    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
-   = note: `#[warn(anonymous_parameters)]` on by default
+   = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default
 
 error[E0121]: the placeholder `_` is not allowed within types on item signatures for methods
   --> $DIR/error-recovery-mismatch.rs:11:35