about summary refs log tree commit diff
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
commit4b2b9c2a39f252e5c6a6a699646eff9d2f8cf79a (patch)
tree2e62b35d9b1a6e25861238faf7e128b0faf09dcd
parentcdcce5a137af21b8421f71ae104d00ead25eeaf8 (diff)
downloadrust-4b2b9c2a39f252e5c6a6a699646eff9d2f8cf79a.tar.gz
rust-4b2b9c2a39f252e5c6a6a699646eff9d2f8cf79a.zip
bless tests with new lint messages
-rw-r--r--tests/ui/checked_unwrap/simple_conditionals.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/checked_unwrap/simple_conditionals.stderr b/tests/ui/checked_unwrap/simple_conditionals.stderr
index 26e360112b6..939b509d85c 100644
--- a/tests/ui/checked_unwrap/simple_conditionals.stderr
+++ b/tests/ui/checked_unwrap/simple_conditionals.stderr
@@ -330,7 +330,7 @@ LL |         if X.is_some() {
    |
    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
-   = note: `#[deny(static_mut_refs)]` on by default
+   = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
 
 error: aborting due to 36 previous errors