fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.0 KiB30 linesraw
1error: unexpected expression: `(7u32)`
2  --> $DIR/key-value-expansion.rs:21:6
3   |
4LL | bug!((column!()));
5   |      ^^^^^^^^^^^
6
7error: unexpected expression: `"bug" + "found"`
8  --> $DIR/key-value-expansion.rs:27:14
9   |
10LL |         bug!("bug" + stringify!(found));
11   |              ^^^^^^^^^^^^^^^^^^^^^^^^^
12...
13LL | 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
18error: unexpected expression: `{ let res = ::alloc::fmt::format(format_args!("{0}", "u8")); res }.as_str()`
19  --> $DIR/key-value-expansion.rs:48:23
20   |
21LL |         doc_comment! {format!("{coor}", coor = stringify!($t1)).as_str()}
22   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
23...
24LL | 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
29error: aborting due to 3 previous errors
30