Skip to content

Commit 4a662c2

Browse files
committed
Update target feature tests
1 parent 72393a6 commit 4a662c2

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

tests/ui/target-feature/abi-required-target-feature-flag-disable.loongarch.stderr

+1-5
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,5 @@ warning: target feature `d` must be enabled to ensure that the ABI of the curren
33
= note: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
44
= note: for more information, see issue #116344 <https://github.com/rust-lang/rust/issues/116344>
55

6-
warning: unstable feature specified for `-Ctarget-feature`: `d`
7-
|
8-
= note: this feature is not stably supported; its behavior can change in the future
9-
10-
warning: 2 warnings emitted
6+
warning: 1 warning emitted
117

tests/ui/target-feature/abi-required-target-feature-flag-disable.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@
2424
pub trait Sized {}
2525

2626
//~? WARN must be enabled to ensure that the ABI of the current target can be implemented correctly
27-
//[x86,riscv,loongarch]~? WARN unstable feature specified for `-Ctarget-feature`
27+
//[x86,riscv]~? WARN unstable feature specified for `-Ctarget-feature`

0 commit comments

Comments
 (0)