diff options
| author | bors <bors@rust-lang.org> | 2024-02-19 06:59:32 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-02-19 06:59:32 +0000 |
| commit | 010f029c905ffeb01ad88288b2cf50efe65b23ae (patch) | |
| tree | cf3e5436c033a6b38daa21eb498b7f53d417936c /compiler/rustc_codegen_gcc | |
| parent | 90fccaad801a929fc482dbbeca0231aa197de7c7 (diff) | |
| parent | e118c3e8af2ee5c0d20d21e8bf08c1a254a317fb (diff) | |
| download | rust-010f029c905ffeb01ad88288b2cf50efe65b23ae.tar.gz rust-010f029c905ffeb01ad88288b2cf50efe65b23ae.zip | |
Auto merge of #3306 - rust-lang:rustup-2024-02-19, r=RalfJung
Automatic Rustup
Diffstat (limited to 'compiler/rustc_codegen_gcc')
| -rw-r--r-- | compiler/rustc_codegen_gcc/example/mini_core_hello_world.rs | 4 |
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 { |
