@@ -23,26 +23,38 @@ help: consider writing `format!("ugh () stop being such a good compiler", "hello
23
23
LL | let _ = format!["ugh {} stop being such a good compiler", "hello"];
24
24
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
25
25
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!((), ())`
27
33
--> $DIR/conf_nonstandard_macro_braces.rs:45:13
28
34
|
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
+ |
29
41
LL | let _ = quote!(let x = 1;);
30
42
| ^^^^^^^^^^^^^^^^^^
31
43
|
32
44
help: consider writing `quote! {let x = 1;}`
33
- --> $DIR/conf_nonstandard_macro_braces.rs:45 :13
45
+ --> $DIR/conf_nonstandard_macro_braces.rs:46 :13
34
46
|
35
47
LL | let _ = quote!(let x = 1;);
36
48
| ^^^^^^^^^^^^^^^^^^
37
49
38
50
error: 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
40
52
|
41
53
LL | let _ = quote::quote!(match match match);
42
54
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
43
55
|
44
56
help: 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
46
58
|
47
59
LL | let _ = quote::quote!(match match match);
48
60
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -67,28 +79,28 @@ LL | let _ = test!(); // trigger when macro def is inside our own crate
67
79
= note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info)
68
80
69
81
error: 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
71
83
|
72
84
LL | let _: type_pos!(usize) = vec![];
73
85
| ^^^^^^^^^^^^^^^^
74
86
|
75
87
help: consider writing `type_pos![usize]`
76
- --> $DIR/conf_nonstandard_macro_braces.rs:55 :12
88
+ --> $DIR/conf_nonstandard_macro_braces.rs:56 :12
77
89
|
78
90
LL | let _: type_pos!(usize) = vec![];
79
91
| ^^^^^^^^^^^^^^^^
80
92
81
93
error: 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
83
95
|
84
96
LL | eprint!("test if user config overrides defaults");
85
97
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
86
98
|
87
99
help: 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
89
101
|
90
102
LL | eprint!("test if user config overrides defaults");
91
103
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
92
104
93
- error: aborting due to 7 previous errors
105
+ error: aborting due to 8 previous errors
94
106
0 commit comments