```
error[E0308]: mismatched types
--> $DIR/macro-span-caller-replacement.rs:5:17
|
LL | s = format!("{arg}");
| ^^^^^^^^^^^^^^^^ expected `&str`, found `String`
...
LL | macro_with_format!();
| -------------------- in this macro invocation
|
= note: this error originates in the macro `format` which comes from the expansion of the macro `macro_with_format` (in Nightly builds, run with -Z macro-backtrace for more info)
```
20 lines
787 B
Text
20 lines
787 B
Text
error: constant evaluation is taking a long time
|
|
--> $SRC_DIR/core/src/num/uint_macros.rs:LL:COL
|
|
|
|
|
--> $SRC_DIR/core/src/num/mod.rs:LL:COL
|
|
::: $SRC_DIR/core/src/num/mod.rs:LL:COL
|
|
|
|
|
= note: in this macro invocation
|
|
|
|
|
= note: this lint makes sure the compiler doesn't get stuck due to infinite loops in const eval.
|
|
If your compilation actually takes a long time, you can safely allow the lint.
|
|
help: the constant being evaluated
|
|
--> $DIR/timeout.rs:7:1
|
|
|
|
|
LL | static ROOK_ATTACKS_TABLE: () = {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
= note: `#[deny(long_running_const_eval)]` on by default
|
|
= note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error: aborting due to 1 previous error
|
|
|