about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-18 08:00:34 +0000
committerbors <bors@rust-lang.org>2024-02-18 08:00:34 +0000
commitbcb3545164d7621353c7b152b6339ce44c640add (patch)
tree7e0a71eaca15e746565fb899187a69f0547dad53 /compiler/rustc_codegen_gcc
parent23a3d777c8a95715977608c827de63e7738fa228 (diff)
parent408eeae59d35cbcaab2cfb345d24373954e74fc5 (diff)
downloadrust-bcb3545164d7621353c7b152b6339ce44c640add.tar.gz
rust-bcb3545164d7621353c7b152b6339ce44c640add.zip
Auto merge of #121034 - obeis:improve-static-mut-ref, r=RalfJung
Improve wording of `static_mut_ref`

Close #120964
Diffstat (limited to 'compiler/rustc_codegen_gcc')
-rw-r--r--compiler/rustc_codegen_gcc/example/mini_core_hello_world.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_gcc/example/mini_core_hello_world.rs b/compiler/rustc_codegen_gcc/example/mini_core_hello_world.rs
index 9827e299f2a..add77880716 100644
--- a/compiler/rustc_codegen_gcc/example/mini_core_hello_world.rs
+++ b/compiler/rustc_codegen_gcc/example/mini_core_hello_world.rs
@@ -99,8 +99,8 @@ fn start<T: Termination + 'static>(
 
 static mut NUM: u8 = 6 * 7;
 
-// FIXME: Use `SyncUnsafeCell` instead of allowing `static_mut_ref` lint
-#[allow(static_mut_ref)]
+// FIXME: Use `SyncUnsafeCell` instead of allowing `static_mut_refs` lint
+#[allow(static_mut_refs)]
 static NUM_REF: &'static u8 = unsafe { &NUM };
 
 macro_rules! assert {