@@ -23,26 +23,38 @@ help: consider writing `format!("ugh () stop being such a good compiler", "hello
2323LL | let _ = format!["ugh {} stop being such a good compiler", "hello"];
2424 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2525
26- error: use of irregular braces for `quote!` macro
26+ error: use of irregular braces for `matches!` macro
27+ --> $DIR/conf_nonstandard_macro_braces.rs:45:13
28+ |
29+ LL | let _ = matches!{{}, ()};
30+ | ^^^^^^^^^^^^^^^^
31+ |
32+ help: consider writing `matches!((), ())`
2733 --> $DIR/conf_nonstandard_macro_braces.rs:45:13
2834 |
35+ LL | let _ = matches!{{}, ()};
36+ | ^^^^^^^^^^^^^^^^
37+
38+ error: use of irregular braces for `quote!` macro
39+ --> $DIR/conf_nonstandard_macro_braces.rs:46:13
40+ |
2941LL | let _ = quote!(let x = 1;);
3042 | ^^^^^^^^^^^^^^^^^^
3143 |
3244help: consider writing `quote! {let x = 1;}`
33- --> $DIR/conf_nonstandard_macro_braces.rs:45 :13
45+ --> $DIR/conf_nonstandard_macro_braces.rs:46 :13
3446 |
3547LL | let _ = quote!(let x = 1;);
3648 | ^^^^^^^^^^^^^^^^^^
3749
3850error: use of irregular braces for `quote::quote!` macro
39- --> $DIR/conf_nonstandard_macro_braces.rs:46 :13
51+ --> $DIR/conf_nonstandard_macro_braces.rs:47 :13
4052 |
4153LL | let _ = quote::quote!(match match match);
4254 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4355 |
4456help: consider writing `quote::quote! {match match match}`
45- --> $DIR/conf_nonstandard_macro_braces.rs:46 :13
57+ --> $DIR/conf_nonstandard_macro_braces.rs:47 :13
4658 |
4759LL | let _ = quote::quote!(match match match);
4860 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -67,28 +79,28 @@ LL | let _ = test!(); // trigger when macro def is inside our own crate
6779 = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info)
6880
6981error: use of irregular braces for `type_pos!` macro
70- --> $DIR/conf_nonstandard_macro_braces.rs:55 :12
82+ --> $DIR/conf_nonstandard_macro_braces.rs:56 :12
7183 |
7284LL | let _: type_pos!(usize) = vec![];
7385 | ^^^^^^^^^^^^^^^^
7486 |
7587help: consider writing `type_pos![usize]`
76- --> $DIR/conf_nonstandard_macro_braces.rs:55 :12
88+ --> $DIR/conf_nonstandard_macro_braces.rs:56 :12
7789 |
7890LL | let _: type_pos!(usize) = vec![];
7991 | ^^^^^^^^^^^^^^^^
8092
8193error: use of irregular braces for `eprint!` macro
82- --> $DIR/conf_nonstandard_macro_braces.rs:57 :5
94+ --> $DIR/conf_nonstandard_macro_braces.rs:58 :5
8395 |
8496LL | eprint!("test if user config overrides defaults");
8597 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8698 |
8799help: consider writing `eprint!["test if user config overrides defaults"]`
88- --> $DIR/conf_nonstandard_macro_braces.rs:57 :5
100+ --> $DIR/conf_nonstandard_macro_braces.rs:58 :5
89101 |
90102LL | eprint!("test if user config overrides defaults");
91103 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
92104
93- error: aborting due to 7 previous errors
105+ error: aborting due to 8 previous errors
94106
0 commit comments