target_feature_11
rejects code that was previously accepted · Issue #108655 · rust-lang/rust (original) (raw)
#[target_feature(enable = "sse2")] pub unsafe fn test() { ({ #[inline(always)] move || {} })(); }
The preceding code used to compile successfully. Since the stabilization of#![feature(target_feature_11)]
in #99767 the compilation fails with:
error: cannot use `#[inline(always)]` with `#[target_feature]`