2021-05-30 16:58:32 -05:00
|
|
|
error: use of irregular braces for `vec!` macro
|
2021-07-21 06:28:52 -05:00
|
|
|
--> $DIR/conf_nonstandard_macro_braces.rs:43:13
|
2021-05-30 16:58:32 -05:00
|
|
|
|
|
|
|
|
LL | let _ = vec! {1, 2, 3};
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::nonstandard-macro-braces` implied by `-D warnings`
|
|
|
|
help: consider writing `vec![1, 2, 3]`
|
2021-07-21 06:28:52 -05:00
|
|
|
--> $DIR/conf_nonstandard_macro_braces.rs:43:13
|
2021-05-30 16:58:32 -05:00
|
|
|
|
|
|
|
|
LL | let _ = vec! {1, 2, 3};
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: use of irregular braces for `format!` macro
|
2021-07-21 06:28:52 -05:00
|
|
|
--> $DIR/conf_nonstandard_macro_braces.rs:44:13
|
2021-05-30 16:58:32 -05:00
|
|
|
|
|
|
|
|
LL | let _ = format!["ugh {} stop being such a good compiler", "hello"];
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: consider writing `format!("ugh () stop being such a good compiler", "hello")`
|
2021-07-21 06:28:52 -05:00
|
|
|
--> $DIR/conf_nonstandard_macro_braces.rs:44:13
|
2021-05-30 16:58:32 -05:00
|
|
|
|
|
|
|
|
LL | let _ = format!["ugh {} stop being such a good compiler", "hello"];
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: use of irregular braces for `quote!` macro
|
2021-07-21 06:28:52 -05:00
|
|
|
--> $DIR/conf_nonstandard_macro_braces.rs:45:13
|
2021-05-30 16:58:32 -05:00
|
|
|
|
|
|
|
|
LL | let _ = quote!(let x = 1;);
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: consider writing `quote! {let x = 1;}`
|
2021-07-21 06:28:52 -05:00
|
|
|
--> $DIR/conf_nonstandard_macro_braces.rs:45:13
|
2021-05-30 16:58:32 -05:00
|
|
|
|
|
|
|
|
LL | let _ = quote!(let x = 1;);
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: use of irregular braces for `quote::quote!` macro
|
2021-07-21 06:28:52 -05:00
|
|
|
--> $DIR/conf_nonstandard_macro_braces.rs:46:13
|
2021-05-30 16:58:32 -05:00
|
|
|
|
|
|
|
|
LL | let _ = quote::quote!(match match match);
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: consider writing `quote::quote! {match match match}`
|
2021-07-21 06:28:52 -05:00
|
|
|
--> $DIR/conf_nonstandard_macro_braces.rs:46:13
|
2021-05-30 16:58:32 -05:00
|
|
|
|
|
|
|
|
LL | let _ = quote::quote!(match match match);
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: use of irregular braces for `type_pos!` macro
|
2021-07-21 06:28:52 -05:00
|
|
|
--> $DIR/conf_nonstandard_macro_braces.rs:55:12
|
2021-05-30 16:58:32 -05:00
|
|
|
|
|
|
|
|
LL | let _: type_pos!(usize) = vec![];
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: consider writing `type_pos![usize]`
|
2021-07-21 06:28:52 -05:00
|
|
|
--> $DIR/conf_nonstandard_macro_braces.rs:55:12
|
2021-05-30 16:58:32 -05:00
|
|
|
|
|
|
|
|
LL | let _: type_pos!(usize) = vec![];
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: use of irregular braces for `eprint!` macro
|
2021-07-21 06:28:52 -05:00
|
|
|
--> $DIR/conf_nonstandard_macro_braces.rs:57:5
|
2021-05-30 16:58:32 -05:00
|
|
|
|
|
|
|
|
LL | eprint!("test if user config overrides defaults");
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: consider writing `eprint!["test if user config overrides defaults"];`
|
2021-07-21 06:28:52 -05:00
|
|
|
--> $DIR/conf_nonstandard_macro_braces.rs:57:5
|
2021-05-30 16:58:32 -05:00
|
|
|
|
|
|
|
|
LL | eprint!("test if user config overrides defaults");
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2021-07-22 07:55:45 -05:00
|
|
|
error: aborting due to 6 previous errors
|
2021-05-30 16:58:32 -05:00
|
|
|
|