mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
12 lines
410 B
Plaintext
12 lines
410 B
Plaintext
error: `#[panic_handler]` function is not allowed to have `#[target_feature]`
|
|
--> $DIR/panic-handler-with-target-feature.rs:11:1
|
|
|
|
|
LL | #[target_feature(enable = "avx2")]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
LL |
|
|
LL | fn panic(info: &PanicInfo) -> ! {
|
|
| ------------------------------- `#[panic_handler]` function is not allowed to have `#[target_feature]`
|
|
|
|
error: aborting due to 1 previous error
|
|
|