]> git.proxmox.com Git - rustc.git/blob - tests/ui/attributes/key-value-expansion.stderr
New upstream version 1.68.2+dfsg1
[rustc.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: `{
19 let res =
20 ::alloc::fmt::format(::core::fmt::Arguments::new_v1(&[""],
21 &[::core::fmt::ArgumentV1::new_display(&"u8")]));
22 res
23 }.as_str()`
24 --> $DIR/key-value-expansion.rs:48:23
25 |
26 LL | doc_comment! {format!("{coor}", coor = stringify!($t1)).as_str()}
27 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
28 ...
29 LL | some_macro!(u8);
30 | --------------- in this macro invocation
31 |
32 = note: this error originates in the macro `some_macro` (in Nightly builds, run with -Z macro-backtrace for more info)
33
34 error: aborting due to 3 previous errors
35