mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
408eeae59d
Rename `static_mut_ref` lint to `static_mut_refs`.
9 lines
228 B
Rust
9 lines
228 B
Rust
//@ build-pass (FIXME(62277): could be check-pass?)
|
|
#![allow(static_mut_refs)]
|
|
|
|
static mut STDERR_BUFFER_SPACE: [u8; 42] = [0u8; 42];
|
|
|
|
pub static mut STDERR_BUFFER: *mut [u8] = unsafe { &mut STDERR_BUFFER_SPACE };
|
|
|
|
fn main() {}
|