Module rustc_lint::invalid_from_utf8
source · Structs
Statics
- The
invalid_from_utf8
lint checks for calls tostd::str::from_utf8
andstd::str::from_utf8_mut
with a known invalid UTF-8 value. - The
invalid_from_utf8_unchecked
lint checks for calls tostd::str::from_utf8_unchecked
andstd::str::from_utf8_unchecked_mut
with a known invalid UTF-8 value.