2021-07-01 11:17:38 -05:00
|
|
|
error: use of irregular braces for `vec!` macro
|
2023-07-27 06:40:22 -05:00
|
|
|
--> $DIR/conf_nonstandard_macro_braces.rs:43:13
|
2021-07-01 11:17:38 -05:00
|
|
|
|
|
|
|
|
LL | let _ = vec! {1, 2, 3};
|
2022-09-19 11:08:28 -05:00
|
|
|
| ^^^^^^^^^^^^^^ help: consider writing: `vec![1, 2, 3]`
|
2021-07-01 11:17:38 -05:00
|
|
|
|
|
|
|
|
= note: `-D clippy::nonstandard-macro-braces` implied by `-D warnings`
|
|
|
|
|
|
|
|
error: use of irregular braces for `format!` macro
|
2023-07-27 06:40:22 -05:00
|
|
|
--> $DIR/conf_nonstandard_macro_braces.rs:44:13
|
2021-07-01 11:17:38 -05:00
|
|
|
|
|
|
|
|
LL | let _ = format!["ugh {} stop being such a good compiler", "hello"];
|
2022-09-19 11:08:28 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider writing: `format!("ugh {} stop being such a good compiler", "hello")`
|
2021-07-01 11:17:38 -05:00
|
|
|
|
2022-09-13 05:08:17 -05:00
|
|
|
error: use of irregular braces for `matches!` macro
|
2023-07-27 06:40:22 -05:00
|
|
|
--> $DIR/conf_nonstandard_macro_braces.rs:45:13
|
2021-07-01 11:17:38 -05:00
|
|
|
|
|
2022-09-13 05:08:17 -05:00
|
|
|
LL | let _ = matches!{{}, ()};
|
2022-09-19 11:08:28 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^ help: consider writing: `matches!({}, ())`
|
2022-09-13 05:08:17 -05:00
|
|
|
|
|
|
|
error: use of irregular braces for `quote!` macro
|
2023-07-27 06:40:22 -05:00
|
|
|
--> $DIR/conf_nonstandard_macro_braces.rs:46:13
|
2021-07-01 11:17:38 -05:00
|
|
|
|
|
|
|
|
LL | let _ = quote!(let x = 1;);
|
2022-09-19 11:08:28 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^ help: consider writing: `quote!{let x = 1;}`
|
2021-07-01 11:17:38 -05:00
|
|
|
|
|
|
|
error: use of irregular braces for `quote::quote!` macro
|
2023-07-27 06:40:22 -05:00
|
|
|
--> $DIR/conf_nonstandard_macro_braces.rs:47:13
|
2021-07-01 11:17:38 -05:00
|
|
|
|
|
|
|
|
LL | let _ = quote::quote!(match match match);
|
2022-09-19 11:08:28 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider writing: `quote::quote!{match match match}`
|
2021-07-01 11:17:38 -05:00
|
|
|
|
|
|
|
error: use of irregular braces for `vec!` macro
|
2023-07-27 06:40:22 -05:00
|
|
|
--> $DIR/conf_nonstandard_macro_braces.rs:18:9
|
2021-07-01 11:17:38 -05:00
|
|
|
|
|
|
|
|
LL | vec!{0, 0, 0}
|
2022-09-19 11:08:28 -05:00
|
|
|
| ^^^^^^^^^^^^^ help: consider writing: `vec![0, 0, 0]`
|
2021-07-01 11:17:38 -05:00
|
|
|
...
|
2021-08-12 04:16:25 -05:00
|
|
|
LL | let _ = test!(); // trigger when macro def is inside our own crate
|
2021-07-01 11:17:38 -05:00
|
|
|
| ------- in this macro invocation
|
|
|
|
|
|
|
|
|
= note: this error originates in the macro `test` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
|
|
|
|
error: use of irregular braces for `type_pos!` macro
|
2023-07-27 06:40:22 -05:00
|
|
|
--> $DIR/conf_nonstandard_macro_braces.rs:56:12
|
2021-07-01 11:17:38 -05:00
|
|
|
|
|
|
|
|
LL | let _: type_pos!(usize) = vec![];
|
2022-09-19 11:08:28 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^ help: consider writing: `type_pos![usize]`
|
2021-07-01 11:17:38 -05:00
|
|
|
|
|
|
|
error: use of irregular braces for `eprint!` macro
|
2023-07-27 06:40:22 -05:00
|
|
|
--> $DIR/conf_nonstandard_macro_braces.rs:58:5
|
2021-07-01 11:17:38 -05:00
|
|
|
|
|
|
|
|
LL | eprint!("test if user config overrides defaults");
|
2022-09-19 11:08:28 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider writing: `eprint!["test if user config overrides defaults"]`
|
2021-07-01 11:17:38 -05:00
|
|
|
|
2022-09-13 05:08:17 -05:00
|
|
|
error: aborting due to 8 previous errors
|
2021-07-01 11:17:38 -05:00
|
|
|
|