]> git.proxmox.com Git - rustc.git/blame - src/test/ui/attributes/key-value-expansion.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / attributes / key-value-expansion.stderr
CommitLineData
29967ef6 1error: unexpected token: `(7u32)`
fc512014 2 --> $DIR/key-value-expansion.rs:21:6
29967ef6 3 |
29967ef6 4LL | bug!((column!()));
fc512014 5 | ^^^^^^^^^^^
29967ef6
XL
6
7error: unexpected token: `"bug" + "found"`
fc512014 8 --> $DIR/key-value-expansion.rs:27:14
29967ef6 9 |
fc512014
XL
10LL | bug!("bug" + stringify!(found));
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^
29967ef6
XL
12...
13LL | 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
18error: 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
34LL | doc_comment! {format!("{coor}", coor = stringify!($t1)).as_str()}
35 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
29967ef6
XL
36...
37LL | 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
42error: aborting due to 3 previous errors
43