1 2 3 4 5 6 7
// only-x86_64 #![feature(target_feature_11)] #[target_feature(enable = "avx2")] fn main() {} //~^ ERROR `main` function is not allowed to have `#[target_feature]`