rustc_
lint
1.83.0-beta.5
(eb6e3fa1a 2024-11-08)
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
🔒