1 error: use of irregular braces for `vec!` macro
2 --> $DIR/conf_nonstandard_macro_braces.rs:44:13
4 LL | let _ = vec! {1, 2, 3};
5 | ^^^^^^^^^^^^^^ help: consider writing: `vec![1, 2, 3]`
7 = note: `-D clippy::nonstandard-macro-braces` implied by `-D warnings`
9 error: use of irregular braces for `format!` macro
10 --> $DIR/conf_nonstandard_macro_braces.rs:45:13
12 LL | let _ = format!["ugh {} stop being such a good compiler", "hello"];
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider writing: `format!("ugh {} stop being such a good compiler", "hello")`
15 error: use of irregular braces for `matches!` macro
16 --> $DIR/conf_nonstandard_macro_braces.rs:46:13
18 LL | let _ = matches!{{}, ()};
19 | ^^^^^^^^^^^^^^^^ help: consider writing: `matches!({}, ())`
21 error: use of irregular braces for `quote!` macro
22 --> $DIR/conf_nonstandard_macro_braces.rs:47:13
24 LL | let _ = quote!(let x = 1;);
25 | ^^^^^^^^^^^^^^^^^^ help: consider writing: `quote!{let x = 1;}`
27 error: use of irregular braces for `quote::quote!` macro
28 --> $DIR/conf_nonstandard_macro_braces.rs:48:13
30 LL | let _ = quote::quote!(match match match);
31 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider writing: `quote::quote!{match match match}`
33 error: use of irregular braces for `vec!` macro
34 --> $DIR/conf_nonstandard_macro_braces.rs:19:9
37 | ^^^^^^^^^^^^^ help: consider writing: `vec![0, 0, 0]`
39 LL | let _ = test!(); // trigger when macro def is inside our own crate
40 | ------- in this macro invocation
42 = note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info)
44 error: use of irregular braces for `type_pos!` macro
45 --> $DIR/conf_nonstandard_macro_braces.rs:57:12
47 LL | let _: type_pos!(usize) = vec![];
48 | ^^^^^^^^^^^^^^^^ help: consider writing: `type_pos![usize]`
50 error: use of irregular braces for `eprint!` macro
51 --> $DIR/conf_nonstandard_macro_braces.rs:59:5
53 LL | eprint!("test if user config overrides defaults");
54 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider writing: `eprint!["test if user config overrides defaults"]`
56 error: aborting due to 8 previous errors