2020-09-27 16:52:51 +03:00
|
|
|
error: unexpected token: `(7u32)`
|
2020-11-07 16:09:40 +03:00
|
|
|
--> $DIR/key-value-expansion.rs:21:6
|
2020-09-27 16:52:51 +03:00
|
|
|
|
|
|
|
|
LL | bug!((column!()));
|
2020-11-07 16:09:40 +03:00
|
|
|
| ^^^^^^^^^^^
|
2020-09-27 16:52:51 +03:00
|
|
|
|
|
|
|
error: unexpected token: `"bug" + "found"`
|
2020-11-07 16:09:40 +03:00
|
|
|
--> $DIR/key-value-expansion.rs:27:14
|
2020-09-27 16:52:51 +03:00
|
|
|
|
|
2020-11-07 16:09:40 +03:00
|
|
|
LL | bug!("bug" + stringify!(found));
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-09-27 16:52:51 +03:00
|
|
|
...
|
|
|
|
LL | bug!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| ------ in this macro invocation
|
2020-09-27 16:52:51 +03:00
|
|
|
|
|
2021-02-13 14:52:25 -05:00
|
|
|
= note: this error originates in the macro `bug` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-09-27 16:52:51 +03:00
|
|
|
|
|
|
|
error: unexpected token: `{
|
2022-01-21 01:34:06 -08:00
|
|
|
let res =
|
|
|
|
::alloc::fmt::format(::core::fmt::Arguments::new_v1(&[""],
|
|
|
|
&[::core::fmt::ArgumentV1::new_display(&"u8")]));
|
|
|
|
res
|
|
|
|
}.as_str()`
|
2020-11-07 16:09:40 +03:00
|
|
|
--> $DIR/key-value-expansion.rs:48:23
|
2020-09-27 16:52:51 +03:00
|
|
|
|
|
2020-11-07 16:09:40 +03:00
|
|
|
LL | doc_comment! {format!("{coor}", coor = stringify!($t1)).as_str()}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-09-27 16:52:51 +03:00
|
|
|
...
|
|
|
|
LL | some_macro!(u8);
|
2021-10-14 13:28:28 -05:00
|
|
|
| --------------- in this macro invocation
|
2020-09-27 16:52:51 +03:00
|
|
|
|
|
2021-02-13 14:52:25 -05:00
|
|
|
= note: this error originates in the macro `some_macro` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-09-27 16:52:51 +03:00
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|