1 error: use of irregular braces for `vec!` macro
2 --> $DIR/conf_nonstandard_macro_braces.rs:43:13
4 LL | let _ = vec! {1, 2, 3};
7 = note: `-D clippy::nonstandard-macro-braces` implied by `-D warnings`
8 help: consider writing `vec![1, 2, 3]`
9 --> $DIR/conf_nonstandard_macro_braces.rs:43:13
11 LL | let _ = vec! {1, 2, 3};
14 error: use of irregular braces for `format!` macro
15 --> $DIR/conf_nonstandard_macro_braces.rs:44:13
17 LL | let _ = format!["ugh {} stop being such a good compiler", "hello"];
18 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20 help: consider writing `format!("ugh () stop being such a good compiler", "hello")`
21 --> $DIR/conf_nonstandard_macro_braces.rs:44:13
23 LL | let _ = format!["ugh {} stop being such a good compiler", "hello"];
24 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
26 error: use of irregular braces for `quote!` macro
27 --> $DIR/conf_nonstandard_macro_braces.rs:45:13
29 LL | let _ = quote!(let x = 1;);
32 help: consider writing `quote! {let x = 1;}`
33 --> $DIR/conf_nonstandard_macro_braces.rs:45:13
35 LL | let _ = quote!(let x = 1;);
38 error: use of irregular braces for `quote::quote!` macro
39 --> $DIR/conf_nonstandard_macro_braces.rs:46:13
41 LL | let _ = quote::quote!(match match match);
42 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44 help: consider writing `quote::quote! {match match match}`
45 --> $DIR/conf_nonstandard_macro_braces.rs:46:13
47 LL | let _ = quote::quote!(match match match);
48 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
50 error: use of irregular braces for `vec!` macro
51 --> $DIR/conf_nonstandard_macro_braces.rs:18:9
56 LL | let _ = test!(); // trigger when macro def is inside our own crate
57 | ------- in this macro invocation
59 help: consider writing `vec![0, 0, 0]`
60 --> $DIR/conf_nonstandard_macro_braces.rs:18:9
65 LL | let _ = test!(); // trigger when macro def is inside our own crate
66 | ------- in this macro invocation
67 = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info)
69 error: use of irregular braces for `type_pos!` macro
70 --> $DIR/conf_nonstandard_macro_braces.rs:55:12
72 LL | let _: type_pos!(usize) = vec![];
75 help: consider writing `type_pos![usize]`
76 --> $DIR/conf_nonstandard_macro_braces.rs:55:12
78 LL | let _: type_pos!(usize) = vec![];
81 error: use of irregular braces for `eprint!` macro
82 --> $DIR/conf_nonstandard_macro_braces.rs:57:5
84 LL | eprint!("test if user config overrides defaults");
85 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
87 help: consider writing `eprint!["test if user config overrides defaults"];`
88 --> $DIR/conf_nonstandard_macro_braces.rs:57:5
90 LL | eprint!("test if user config overrides defaults");
91 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
93 error: aborting due to 7 previous errors