]>
Commit | Line | Data |
---|---|---|
29967ef6 | 1 | error: unexpected token: `(7u32)` |
fc512014 | 2 | --> $DIR/key-value-expansion.rs:21:6 |
29967ef6 | 3 | | |
29967ef6 | 4 | LL | bug!((column!())); |
fc512014 | 5 | | ^^^^^^^^^^^ |
29967ef6 XL |
6 | |
7 | error: unexpected token: `"bug" + "found"` | |
fc512014 | 8 | --> $DIR/key-value-expansion.rs:27:14 |
29967ef6 | 9 | | |
fc512014 XL |
10 | LL | bug!("bug" + stringify!(found)); |
11 | | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
29967ef6 XL |
12 | ... |
13 | LL | bug!(); | |
14 | | ------- in this macro invocation | |
15 | | | |
17df50a5 | 16 | = note: this error originates in the macro `bug` (in Nightly builds, run with -Z macro-backtrace for more info) |
29967ef6 XL |
17 | |
18 | error: unexpected token: `{ | |
19 | let res = | |
94222f64 XL |
20 | ::alloc::fmt::format(match match (&"u8",) { |
21 | (arg0,) => | |
22 | [::core::fmt::ArgumentV1::new(arg0, | |
23 | ::core::fmt::Display::fmt)], | |
24 | } { | |
25 | ref args => unsafe { | |
26 | ::core::fmt::Arguments::new_v1(&[""], | |
27 | args) | |
28 | } | |
29 | }); | |
29967ef6 XL |
30 | res |
31 | }.as_str()` | |
fc512014 | 32 | --> $DIR/key-value-expansion.rs:48:23 |
29967ef6 | 33 | | |
fc512014 XL |
34 | LL | doc_comment! {format!("{coor}", coor = stringify!($t1)).as_str()} |
35 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
29967ef6 XL |
36 | ... |
37 | LL | some_macro!(u8); | |
38 | | ---------------- in this macro invocation | |
39 | | | |
17df50a5 | 40 | = note: this error originates in the macro `some_macro` (in Nightly builds, run with -Z macro-backtrace for more info) |
29967ef6 XL |
41 | |
42 | error: aborting due to 3 previous errors | |
43 |