Skip to content

Commit 1e5145d

Browse files
author
dragan.mladjenovic
committed
Update ui test references.
1 parent dab317f commit 1e5145d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

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:29:9
2+
--> $DIR/asm-out-assign-imm.rs:30:9
33
|
44
LL | x = 1;
55
| ----- first assignment to `x`

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

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
warning: #[target_feature = ".."] is deprecated and will eventually be removed, use #[target_feature(enable = "..")] instead
2-
--> $DIR/target-feature-wrong.rs:18:1
2+
--> $DIR/target-feature-wrong.rs:19: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:20:18
8+
--> $DIR/target-feature-wrong.rs:21: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:22:18
14+
--> $DIR/target-feature-wrong.rs:23: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:24:18
20+
--> $DIR/target-feature-wrong.rs:25: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:28:1
26+
--> $DIR/target-feature-wrong.rs:29: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:32:1
32+
--> $DIR/target-feature-wrong.rs:33:1
3333
|
3434
LL | #[target_feature(enable = "sse2")]
3535
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)