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 `matches!` macro
27 --> $DIR/conf_nonstandard_macro_braces.rs:45:13
29 LL | let _ = matches!{{}, ()};
32 help: consider writing `matches!((), ())`
33 --> $DIR/conf_nonstandard_macro_braces.rs:45:13
35 LL | let _ = matches!{{}, ()};
38 error: use of irregular braces for `quote!` macro
39 --> $DIR/conf_nonstandard_macro_braces.rs:46:13
41 LL | let _ = quote!(let x = 1;);
44 help: consider writing `quote! {let x = 1;}`
45 --> $DIR/conf_nonstandard_macro_braces.rs:46:13
47 LL | let _ = quote!(let x = 1;);
50 error: use of irregular braces for `quote::quote!` macro
51 --> $DIR/conf_nonstandard_macro_braces.rs:47:13
53 LL | let _ = quote::quote!(match match match);
54 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
56 help: consider writing `quote::quote! {match match match}`
57 --> $DIR/conf_nonstandard_macro_braces.rs:47:13
59 LL | let _ = quote::quote!(match match match);
60 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
62 error: use of irregular braces for `vec!` macro
63 --> $DIR/conf_nonstandard_macro_braces.rs:18:9
68 LL | let _ = test!(); // trigger when macro def is inside our own crate
69 | ------- in this macro invocation
71 help: consider writing `vec![0, 0, 0]`
72 --> $DIR/conf_nonstandard_macro_braces.rs:18:9
77 LL | let _ = test!(); // trigger when macro def is inside our own crate
78 | ------- in this macro invocation
79 = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info)
81 error: use of irregular braces for `type_pos!` macro
82 --> $DIR/conf_nonstandard_macro_braces.rs:56:12
84 LL | let _: type_pos!(usize) = vec![];
87 help: consider writing `type_pos![usize]`
88 --> $DIR/conf_nonstandard_macro_braces.rs:56:12
90 LL | let _: type_pos!(usize) = vec![];
93 error: use of irregular braces for `eprint!` macro
94 --> $DIR/conf_nonstandard_macro_braces.rs:58:5
96 LL | eprint!("test if user config overrides defaults");
97 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
99 help: consider writing `eprint!["test if user config overrides defaults"]`
100 --> $DIR/conf_nonstandard_macro_braces.rs:58:5
102 LL | eprint!("test if user config overrides defaults");
103 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
105 error: aborting due to 8 previous errors