rustc_
lint
1.84.0-dev
Module static_
mut_
refs
Module Items
Structs
Statics
Functions
In crate rustc_
lint
rustc_lint
Module
static_mut_refs
Copy item path
Source
Structs
§
Static
MutRefs
Statics
§
STATIC_
MUT_
REFS
The
static_mut_refs
lint checks for shared or mutable references of mutable static inside
unsafe
blocks and
unsafe
functions.
Functions
§
emit_
static_
mut_
refs
🔒
path_
is_
static_
mut
🔒