9 lines
278 B
Rust
9 lines
278 B
Rust
// build-pass (FIXME(62277): could be check-pass?)
|
|
|
|
static mut STDERR_BUFFER_SPACE: [u8; 42] = [0u8; 42];
|
|
|
|
pub static mut STDERR_BUFFER: *mut [u8] = unsafe { &mut STDERR_BUFFER_SPACE };
|
|
//~^ WARN mutable reference of mutable static is discouraged [static_mut_ref]
|
|
|
|
fn main() {}
|