rustc_
lint
1.83.0-beta.6
(4ff8ff0ec 2024-11-16)
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
🔒