11error: use of irregular braces for `vec!` macro
2- --> $DIR/conf_nonstandard_macro_braces.rs:29 :13
2+ --> $DIR/conf_nonstandard_macro_braces.rs:37 :13
33 |
44LL | let _ = vec! {1, 2, 3};
55 | ^^^^^^^^^^^^^^
66 |
77 = note: `-D clippy::nonstandard-macro-braces` implied by `-D warnings`
88help: consider writing `vec![1, 2, 3]`
9- --> $DIR/conf_nonstandard_macro_braces.rs:29 :13
9+ --> $DIR/conf_nonstandard_macro_braces.rs:37 :13
1010 |
1111LL | let _ = vec! {1, 2, 3};
1212 | ^^^^^^^^^^^^^^
1313
1414error: use of irregular braces for `format!` macro
15- --> $DIR/conf_nonstandard_macro_braces.rs:30 :13
15+ --> $DIR/conf_nonstandard_macro_braces.rs:38 :13
1616 |
1717LL | let _ = format!["ugh {} stop being such a good compiler", "hello"];
1818 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1919 |
2020help: consider writing `format!("ugh () stop being such a good compiler", "hello")`
21- --> $DIR/conf_nonstandard_macro_braces.rs:30 :13
21+ --> $DIR/conf_nonstandard_macro_braces.rs:38 :13
2222 |
2323LL | let _ = format!["ugh {} stop being such a good compiler", "hello"];
2424 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2525
2626error: use of irregular braces for `quote!` macro
27- --> $DIR/conf_nonstandard_macro_braces.rs:31 :13
27+ --> $DIR/conf_nonstandard_macro_braces.rs:39 :13
2828 |
2929LL | let _ = quote!(let x = 1;);
3030 | ^^^^^^^^^^^^^^^^^^
3131 |
3232help: consider writing `quote! {let x = 1;}`
33- --> $DIR/conf_nonstandard_macro_braces.rs:31 :13
33+ --> $DIR/conf_nonstandard_macro_braces.rs:39 :13
3434 |
3535LL | let _ = quote!(let x = 1;);
3636 | ^^^^^^^^^^^^^^^^^^
3737
3838error: use of irregular braces for `quote::quote!` macro
39- --> $DIR/conf_nonstandard_macro_braces.rs:32 :13
39+ --> $DIR/conf_nonstandard_macro_braces.rs:40 :13
4040 |
4141LL | let _ = quote::quote!(match match match);
4242 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4343 |
4444help: consider writing `quote::quote! {match match match}`
45- --> $DIR/conf_nonstandard_macro_braces.rs:32 :13
45+ --> $DIR/conf_nonstandard_macro_braces.rs:40 :13
4646 |
4747LL | let _ = quote::quote!(match match match);
4848 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4949
5050error: use of irregular braces for `vec!` macro
51- --> $DIR/conf_nonstandard_macro_braces.rs:10 :9
51+ --> $DIR/conf_nonstandard_macro_braces.rs:18 :9
5252 |
5353LL | vec!{0, 0, 0}
5454 | ^^^^^^^^^^^^^
@@ -57,7 +57,7 @@ LL | let _ = test!();
5757 | ------- in this macro invocation
5858 |
5959help: consider writing `vec![0, 0, 0]`
60- --> $DIR/conf_nonstandard_macro_braces.rs:10 :9
60+ --> $DIR/conf_nonstandard_macro_braces.rs:18 :9
6161 |
6262LL | vec!{0, 0, 0}
6363 | ^^^^^^^^^^^^^
@@ -67,25 +67,25 @@ LL | let _ = test!();
6767 = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info)
6868
6969error: use of irregular braces for `type_pos!` macro
70- --> $DIR/conf_nonstandard_macro_braces.rs:41 :12
70+ --> $DIR/conf_nonstandard_macro_braces.rs:49 :12
7171 |
7272LL | let _: type_pos!(usize) = vec![];
7373 | ^^^^^^^^^^^^^^^^
7474 |
7575help: consider writing `type_pos![usize]`
76- --> $DIR/conf_nonstandard_macro_braces.rs:41 :12
76+ --> $DIR/conf_nonstandard_macro_braces.rs:49 :12
7777 |
7878LL | let _: type_pos!(usize) = vec![];
7979 | ^^^^^^^^^^^^^^^^
8080
8181error: use of irregular braces for `eprint!` macro
82- --> $DIR/conf_nonstandard_macro_braces.rs:43 :5
82+ --> $DIR/conf_nonstandard_macro_braces.rs:51 :5
8383 |
8484LL | eprint!("test if user config overrides defaults");
8585 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8686 |
8787help: consider writing `eprint!["test if user config overrides defaults"];`
88- --> $DIR/conf_nonstandard_macro_braces.rs:43 :5
88+ --> $DIR/conf_nonstandard_macro_braces.rs:51 :5
8989 |
9090LL | eprint!("test if user config overrides defaults");
9191 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments