Skip to content

Commit 466720c

Browse files
committed
bless tests
1 parent 9f70a7b commit 466720c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/test/ui/intrinsics/const-eval-select-bad.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ LL | const_eval_select((), 42, 0xDEADBEEF);
4848
note: required by a bound in `const_eval_select`
4949
--> $SRC_DIR/core/src/intrinsics.rs:LL:COL
5050
|
51-
LL | G: FnOnce<ARG, Output = RET> + ~const Drop + ~const Destruct,
51+
LL | G: FnOnce<ARG, Output = RET> + ~const Destruct,
5252
| ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `const_eval_select`
5353

5454
error[E0271]: type mismatch resolving `<fn(i32) -> bool {bar} as FnOnce<(i32,)>>::Output == i32`
@@ -60,7 +60,7 @@ LL | const_eval_select((1,), foo, bar);
6060
note: required by a bound in `const_eval_select`
6161
--> $SRC_DIR/core/src/intrinsics.rs:LL:COL
6262
|
63-
LL | G: FnOnce<ARG, Output = RET> + ~const Drop + ~const Destruct,
63+
LL | G: FnOnce<ARG, Output = RET> + ~const Destruct,
6464
| ^^^^^^^^^^^^ required by this bound in `const_eval_select`
6565

6666
error[E0631]: type mismatch in function arguments

src/test/ui/target-feature/tied-features.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
error: the target features paca, pacg must all be either enabled or disabled together
2-
--> $DIR/tied-features.rs:13:5
2+
--> $DIR/tied-features.rs:12:5
33
|
44
LL | #[target_feature(enable = "pacg")]
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66
|
77
= help: add the missing features in a `target_feature` attribute
88

99
error: the target features paca, pacg must all be either enabled or disabled together
10-
--> $DIR/tied-features.rs:25:1
10+
--> $DIR/tied-features.rs:24:1
1111
|
1212
LL | #[target_feature(enable = "paca")]
1313
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)