Improve wording of static_mut_ref
Rename `static_mut_ref` lint to `static_mut_refs`.
This commit is contained in:
parent
64dfa4f455
commit
b959fc1d0a
@ -99,8 +99,8 @@ fn start<T: Termination + 'static>(
|
|||||||
|
|
||||||
static mut NUM: u8 = 6 * 7;
|
static mut NUM: u8 = 6 * 7;
|
||||||
|
|
||||||
// FIXME: Use `SyncUnsafeCell` instead of allowing `static_mut_ref` lint
|
// FIXME: Use `SyncUnsafeCell` instead of allowing `static_mut_refs` lint
|
||||||
#[allow(static_mut_ref)]
|
#[allow(static_mut_refs)]
|
||||||
static NUM_REF: &'static u8 = unsafe { &NUM };
|
static NUM_REF: &'static u8 = unsafe { &NUM };
|
||||||
|
|
||||||
macro_rules! assert {
|
macro_rules! assert {
|
||||||
|
Loading…
Reference in New Issue
Block a user