INLINE_NO_SANITIZE

Static INLINE_NO_SANITIZE 

Source
pub static INLINE_NO_SANITIZE: &Lint
Expand description

The inline_no_sanitize lint detects incompatible use of #[inline(always)] and #[sanitize(xyz = "off")].

§Example

#![cfg_attr(not(bootstrap), feature(sanitize))]

#[inline(always)]
#[cfg_attr(not(bootstrap), sanitize(address = "off"))]
fn x() {}

fn main() {
    x()
}

{{produces}}

§Explanation

The use of the #[inline(always)] attribute prevents the the #[sanitize(xyz = "off")] attribute from working. Consider temporarily removing inline attribute.