diff --git a/tests/ui/asm/hexagon-register-pairs.rs b/tests/ui/asm/hexagon-register-pairs.rs index f0f77738ac83..75f296077845 100644 --- a/tests/ui/asm/hexagon-register-pairs.rs +++ b/tests/ui/asm/hexagon-register-pairs.rs @@ -1,4 +1,4 @@ -//@ add-core-stubs +//@ add-minicore //@ compile-flags: --target hexagon-unknown-linux-musl -C target-feature=+hvx-length128b //@ needs-llvm-components: hexagon //@ ignore-backends: gcc @@ -7,6 +7,8 @@ #![crate_type = "lib"] #![no_core] +//~? WARN unstable feature specified for `-Ctarget-feature`: `hvx-length128b` + extern crate minicore; use minicore::*; diff --git a/tests/ui/asm/hexagon-register-pairs.stderr b/tests/ui/asm/hexagon-register-pairs.stderr index 6de55c34a8bc..c5974ba01f17 100644 --- a/tests/ui/asm/hexagon-register-pairs.stderr +++ b/tests/ui/asm/hexagon-register-pairs.stderr @@ -1,5 +1,9 @@ +warning: unstable feature specified for `-Ctarget-feature`: `hvx-length128b` + | + = note: this feature is not stably supported; its behavior can change in the future + error: avoid using named labels in inline assembly - --> $DIR/hexagon-register-pairs.rs:30:15 + --> $DIR/hexagon-register-pairs.rs:32:15 | LL | asm!("label1: r7:6 = combine(#2, #3)"); | ^^^^^^ @@ -9,7 +13,7 @@ LL | asm!("label1: r7:6 = combine(#2, #3)"); = note: `#[deny(named_asm_labels)]` on by default error: avoid using named labels in inline assembly - --> $DIR/hexagon-register-pairs.rs:33:15 + --> $DIR/hexagon-register-pairs.rs:35:15 | LL | asm!("hexagon_label: nop"); | ^^^^^^^^^^^^^ @@ -17,5 +21,5 @@ LL | asm!("hexagon_label: nop"); = help: only local labels of the form `:` should be used in inline asm = note: see the asm section of Rust By Example for more information -error: aborting due to 2 previous errors +error: aborting due to 2 previous errors; 1 warning emitted