Skip to content

Commit 3ae03e9

Browse files
authored
Rollup merge of rust-lang#52899 - draganmladjenovic:ui_tests64, r=alexcrichton
tests/ui: Add missing mips{64} ignores
2 parents e3928cc + f985e6c commit 3ae03e9

7 files changed

+14
-10
lines changed

src/test/ui/asm-out-assign-imm.nll.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0384]: cannot assign twice to immutable variable `x`
2-
--> $DIR/asm-out-assign-imm.rs:33:9
2+
--> $DIR/asm-out-assign-imm.rs:34:9
33
|
44
LL | let x: isize;
55
| - consider changing this to `mut x`

src/test/ui/asm-out-assign-imm.rs

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
// ignore-sparc
1717
// ignore-sparc64
1818
// ignore-mips
19+
// ignore-mips64
1920

2021
#![feature(asm)]
2122

src/test/ui/asm-out-assign-imm.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0384]: cannot assign twice to immutable variable `x`
2-
--> $DIR/asm-out-assign-imm.rs:33:9
2+
--> $DIR/asm-out-assign-imm.rs:34:9
33
|
44
LL | x = 1;
55
| ----- first assignment to `x`

src/test/ui/target-feature-gate.rs

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
// ignore-aarch64
1313
// ignore-wasm
1414
// ignore-emscripten
15+
// ignore-mips
16+
// ignore-mips64
1517
// gate-test-sse4a_target_feature
1618
// gate-test-powerpc_target_feature
1719
// gate-test-avx512_target_feature

src/test/ui/target-feature-gate.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0658]: the target feature `avx512bw` is currently unstable (see issue #44839)
2-
--> $DIR/target-feature-gate.rs:26:18
2+
--> $DIR/target-feature-gate.rs:28:18
33
|
44
LL | #[target_feature(enable = "avx512bw")]
55
| ^^^^^^^^^^^^^^^^^^^

src/test/ui/target-feature-wrong.rs

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
// ignore-wasm
1414
// ignore-emscripten
1515
// ignore-mips
16+
// ignore-mips64
1617
// ignore-powerpc
1718
// ignore-powerpc64
1819
// ignore-powerpc64le

src/test/ui/target-feature-wrong.stderr

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
error: #[target_feature] attribute must be of the form #[target_feature(..)]
2-
--> $DIR/target-feature-wrong.rs:25:1
2+
--> $DIR/target-feature-wrong.rs:26:1
33
|
44
LL | #[target_feature = "+sse2"]
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
66

77
error: the feature named `foo` is not valid for this target
8-
--> $DIR/target-feature-wrong.rs:27:18
8+
--> $DIR/target-feature-wrong.rs:28:18
99
|
1010
LL | #[target_feature(enable = "foo")]
1111
| ^^^^^^^^^^^^^^
1212

1313
error: #[target_feature(..)] only accepts sub-keys of `enable` currently
14-
--> $DIR/target-feature-wrong.rs:29:18
14+
--> $DIR/target-feature-wrong.rs:30:18
1515
|
1616
LL | #[target_feature(bar)]
1717
| ^^^
1818

1919
error: #[target_feature(..)] only accepts sub-keys of `enable` currently
20-
--> $DIR/target-feature-wrong.rs:31:18
20+
--> $DIR/target-feature-wrong.rs:32:18
2121
|
2222
LL | #[target_feature(disable = "baz")]
2323
| ^^^^^^^^^^^^^^^
2424

2525
error: #[target_feature(..)] can only be applied to `unsafe` function
26-
--> $DIR/target-feature-wrong.rs:35:1
26+
--> $DIR/target-feature-wrong.rs:36:1
2727
|
2828
LL | #[target_feature(enable = "sse2")]
2929
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3030

3131
error: attribute should be applied to a function
32-
--> $DIR/target-feature-wrong.rs:39:1
32+
--> $DIR/target-feature-wrong.rs:40:1
3333
|
3434
LL | #[target_feature(enable = "sse2")]
3535
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -38,7 +38,7 @@ LL | mod another {}
3838
| -------------- not a function
3939

4040
error: cannot use #[inline(always)] with #[target_feature]
41-
--> $DIR/target-feature-wrong.rs:43:1
41+
--> $DIR/target-feature-wrong.rs:44:1
4242
|
4343
LL | #[inline(always)]
4444
| ^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)