Skip to content

Commit 7d328fe

Browse files
committed
fix stderr output file after rebase
1 parent e4e6b1e commit 7d328fe

File tree

1 file changed

+5
-23
lines changed

1 file changed

+5
-23
lines changed

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

+5-23
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,18 @@
1-
<<<<<<< HEAD
2-
error[E0277]: the trait bound `[closure@$DIR/const-eval-select-bad.rs:6:27: 6:29]: ~const FnOnce<()>` is not satisfied
3-
--> $DIR/const-eval-select-bad.rs:6:27
4-
|
5-
LL | const_eval_select((), || {}, || {});
6-
| ----------------- ^^^^^ expected an `FnOnce<()>` closure, found `[closure@$DIR/const-eval-select-bad.rs:6:27: 6:29]`
7-
| |
8-
| required by a bound introduced by this call
9-
|
10-
= help: the trait `~const FnOnce<()>` is not implemented for `[closure@$DIR/const-eval-select-bad.rs:6:27: 6:29]`
11-
note: the trait `FnOnce<()>` is implemented for `[closure@$DIR/const-eval-select-bad.rs:6:27: 6:29]`, but that implementation is not `const`
12-
--> $DIR/const-eval-select-bad.rs:6:27
13-
|
14-
LL | const_eval_select((), || {}, || {});
15-
| ^^^^^
16-
= note: wrap the `[closure@$DIR/const-eval-select-bad.rs:6:27: 6:29]` in a closure with no arguments: `|| { /* code */ }`
17-
=======
18-
error[E0277]: the trait bound `[closure@$DIR/const-eval-select-bad.rs:7:27: 7:32]: ~const FnOnce<()>` is not satisfied
1+
error[E0277]: the trait bound `[closure@$DIR/const-eval-select-bad.rs:7:27: 7:29]: ~const FnOnce<()>` is not satisfied
192
--> $DIR/const-eval-select-bad.rs:7:27
203
|
214
LL | const_eval_select((), || {}, || {});
22-
| ----------------- ^^^^^ expected an `FnOnce<()>` closure, found `[closure@$DIR/const-eval-select-bad.rs:7:27: 7:32]`
5+
| ----------------- ^^^^^ expected an `FnOnce<()>` closure, found `[closure@$DIR/const-eval-select-bad.rs:7:27: 7:29]`
236
| |
247
| required by a bound introduced by this call
258
|
26-
= help: the trait `~const FnOnce<()>` is not implemented for `[closure@$DIR/const-eval-select-bad.rs:7:27: 7:32]`
27-
note: the trait `FnOnce<()>` is implemented for `[closure@$DIR/const-eval-select-bad.rs:7:27: 7:32]`, but that implementation is not `const`
9+
= help: the trait `~const FnOnce<()>` is not implemented for `[closure@$DIR/const-eval-select-bad.rs:7:27: 7:29]`
10+
note: the trait `FnOnce<()>` is implemented for `[closure@$DIR/const-eval-select-bad.rs:7:27: 7:29]`, but that implementation is not `const`
2811
--> $DIR/const-eval-select-bad.rs:7:27
2912
|
3013
LL | const_eval_select((), || {}, || {});
3114
| ^^^^^
32-
= note: wrap the `[closure@$DIR/const-eval-select-bad.rs:7:27: 7:32]` in a closure with no arguments: `|| { /* code */ }`
33-
>>>>>>> c1798b7c60e... Support unstable moves via stable in unstable items
15+
= note: wrap the `[closure@$DIR/const-eval-select-bad.rs:7:27: 7:29]` in a closure with no arguments: `|| { /* code */ }`
3416
note: required by a bound in `const_eval_select`
3517
--> $SRC_DIR/core/src/intrinsics.rs:LL:COL
3618
|

0 commit comments

Comments
 (0)