|
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 |
19 | 2 | --> $DIR/const-eval-select-bad.rs:7:27
|
20 | 3 | |
|
21 | 4 | 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]` |
23 | 6 | | |
|
24 | 7 | | required by a bound introduced by this call
|
25 | 8 | |
|
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` |
28 | 11 | --> $DIR/const-eval-select-bad.rs:7:27
|
29 | 12 | |
|
30 | 13 | LL | const_eval_select((), || {}, || {});
|
31 | 14 | | ^^^^^
|
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 */ }` |
34 | 16 | note: required by a bound in `const_eval_select`
|
35 | 17 | --> $SRC_DIR/core/src/intrinsics.rs:LL:COL
|
36 | 18 | |
|
|
0 commit comments