@@ -27,7 +27,7 @@ LL | const_eval_select((), 42, 0xDEADBEEF);
2727 = help: the trait `FnOnce()` is not implemented for `{integer}`
2828 = note: wrap the `{integer}` in a closure with no arguments: `|| { /* code */ }`
2929note: required by a bound in `const_eval_select`
30- --> $SRC_DIR/core/src/intrinsics.rs:LL:COL
30+ --> $SRC_DIR/core/src/intrinsics/mod .rs:LL:COL
3131
3232error[E0277]: expected a `FnOnce()` closure, found `{integer}`
3333 --> $DIR/const-eval-select-bad.rs:10:31
@@ -40,7 +40,7 @@ LL | const_eval_select((), 42, 0xDEADBEEF);
4040 = help: the trait `FnOnce()` is not implemented for `{integer}`
4141 = note: wrap the `{integer}` in a closure with no arguments: `|| { /* code */ }`
4242note: required by a bound in `const_eval_select`
43- --> $SRC_DIR/core/src/intrinsics.rs:LL:COL
43+ --> $SRC_DIR/core/src/intrinsics/mod .rs:LL:COL
4444
4545error: this argument must be a function item
4646 --> $DIR/const-eval-select-bad.rs:10:27
@@ -69,7 +69,7 @@ LL | const_eval_select((1,), foo, bar);
6969 | required by a bound introduced by this call
7070 |
7171note: required by a bound in `const_eval_select`
72- --> $SRC_DIR/core/src/intrinsics.rs:LL:COL
72+ --> $SRC_DIR/core/src/intrinsics/mod .rs:LL:COL
7373
7474error[E0631]: type mismatch in function arguments
7575 --> $DIR/const-eval-select-bad.rs:37:32
@@ -85,7 +85,7 @@ LL | const_eval_select((true,), foo, baz);
8585 = note: expected function signature `fn(bool) -> _`
8686 found function signature `fn(i32) -> _`
8787note: required by a bound in `const_eval_select`
88- --> $SRC_DIR/core/src/intrinsics.rs:LL:COL
88+ --> $SRC_DIR/core/src/intrinsics/mod .rs:LL:COL
8989help: consider wrapping the function in a closure
9090 |
9191LL | const_eval_select((true,), |arg0: bool| foo(/* i32 */), baz);
0 commit comments