Static rustc_ap_rustc_lint_defs::builtin::INLINE_NO_SANITIZE [−][src]
pub static INLINE_NO_SANITIZE: &Lint
Expand description
The inline_no_sanitize
lint detects incompatible use of
#[inline(always)]
and #[no_sanitize(...)]
.
Example
#![feature(no_sanitize)] #[inline(always)] #[no_sanitize(address)] fn x() {} fn main() { x() }
{{produces}}
Explanation
The use of the #[inline(always)]
attribute prevents the
the #[no_sanitize(...)]
attribute from working.
Consider temporarily removing inline
attribute.