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