mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-14 01:25:54 +00:00
8 lines
166 B
Rust
8 lines
166 B
Rust
// only-x86_64
|
|
|
|
#![feature(target_feature_11)]
|
|
|
|
#[target_feature(enable = "avx2")]
|
|
fn main() {}
|
|
//~^ ERROR `main` function is not allowed to have `#[target_feature]`
|