]> git.lizzy.rs Git - rust.git/blob - tests/ui/attributes/key-value-expansion.stderr
Rollup merge of #107316 - ChrisDenton:snap, r=oli-obk
[rust.git] / tests / ui / attributes / key-value-expansion.stderr
1 error: unexpected expression: `(7u32)`
2   --> $DIR/key-value-expansion.rs:21:6
3    |
4 LL | bug!((column!()));
5    |      ^^^^^^^^^^^
6
7 error: unexpected expression: `"bug" + "found"`
8   --> $DIR/key-value-expansion.rs:27:14
9    |
10 LL |         bug!("bug" + stringify!(found));
11    |              ^^^^^^^^^^^^^^^^^^^^^^^^^
12 ...
13 LL | bug!();
14    | ------ in this macro invocation
15    |
16    = note: this error originates in the macro `bug` (in Nightly builds, run with -Z macro-backtrace for more info)
17
18 error: unexpected expression: `{ let res = ::alloc::fmt::format(format_args!("{0}", "u8")); res }.as_str()`
19   --> $DIR/key-value-expansion.rs:48:23
20    |
21 LL |         doc_comment! {format!("{coor}", coor = stringify!($t1)).as_str()}
22    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
23 ...
24 LL | some_macro!(u8);
25    | --------------- in this macro invocation
26    |
27    = note: this error originates in the macro `some_macro` (in Nightly builds, run with -Z macro-backtrace for more info)
28
29 error: aborting due to 3 previous errors
30