rustc_lint::builtinStatic UNUSED_UNSAFE
pub static UNUSED_UNSAFE: &'static Lint
Expand description
The unused_unsafe
lint detects unnecessary use of an unsafe
block.
§Example
{{produces}}
§Explanation
If nothing within the block requires unsafe
, then remove the
unsafe
marker because it is not required and may cause confusion.