2023-12-11 16:55:50 -06:00
|
|
|
error: attribute value must be a literal
|
2020-11-07 07:09:40 -06:00
|
|
|
--> $DIR/key-value-expansion.rs:21:6
|
2020-09-27 08:52:51 -05:00
|
|
|
|
|
|
|
|
LL | bug!((column!()));
|
2020-11-07 07:09:40 -06:00
|
|
|
| ^^^^^^^^^^^
|
2020-09-27 08:52:51 -05:00
|
|
|
|
2023-12-11 16:55:50 -06:00
|
|
|
error: attribute value must be a literal
|
2020-11-07 07:09:40 -06:00
|
|
|
--> $DIR/key-value-expansion.rs:27:14
|
2020-09-27 08:52:51 -05:00
|
|
|
|
|
2020-11-07 07:09:40 -06:00
|
|
|
LL | bug!("bug" + stringify!(found));
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-09-27 08:52:51 -05:00
|
|
|
...
|
|
|
|
LL | bug!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| ------ in this macro invocation
|
2020-09-27 08:52:51 -05:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `bug` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-09-27 08:52:51 -05:00
|
|
|
|
2023-12-11 16:55:50 -06:00
|
|
|
error: attribute value must be a literal
|
2020-11-07 07:09:40 -06:00
|
|
|
--> $DIR/key-value-expansion.rs:48:23
|
2020-09-27 08:52:51 -05:00
|
|
|
|
|
2020-11-07 07:09:40 -06:00
|
|
|
LL | doc_comment! {format!("{coor}", coor = stringify!($t1)).as_str()}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-09-27 08:52:51 -05:00
|
|
|
...
|
|
|
|
LL | some_macro!(u8);
|
2021-10-14 13:28:28 -05:00
|
|
|
| --------------- in this macro invocation
|
2020-09-27 08:52:51 -05:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `some_macro` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-09-27 08:52:51 -05:00
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|