rustc_
lint
1.85.0-nightly
(5f23ef7d3 2024-12-20)
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
🔒