mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-07-24 13:35:46 +00:00
Ignore buggy nonstandard_macro_braces clippy lint
Clippy bug: https://github.com/rust-lang/rust-clippy/issues/7422 error: use of irregular braces for `format_args!` macro --> test_suite/tests/test_gen.rs:528:25 | 528 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^^^ | = note: `-D clippy::nonstandard-macro-braces` implied by `-D clippy::all` help: consider writing `Deserialize` --> test_suite/tests/test_gen.rs:528:25 | 528 | #[derive(Serialize, Deserialize)] | ^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonstandard_macro_braces = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) error: use of irregular braces for `format_args!` macro --> test_suite/tests/test_annotations.rs:1791:43 | 1791 | #[derive(Debug, PartialEq, Serialize, Deserialize)] | ^^^^^^^^^^^ | = note: `-D clippy::nonstandard-macro-braces` implied by `-D clippy::all` help: consider writing `Deserialize` --> test_suite/tests/test_annotations.rs:1791:43 | 1791 | #[derive(Debug, PartialEq, Serialize, Deserialize)] | ^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonstandard_macro_braces = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
#![allow(
|
#![allow(
|
||||||
clippy::cast_lossless,
|
clippy::cast_lossless,
|
||||||
clippy::from_over_into,
|
clippy::from_over_into,
|
||||||
|
// Clippy bug: https://github.com/rust-lang/rust-clippy/issues/7422
|
||||||
|
clippy::nonstandard_macro_braces,
|
||||||
clippy::trivially_copy_pass_by_ref
|
clippy::trivially_copy_pass_by_ref
|
||||||
)]
|
)]
|
||||||
|
|
||||||
|
|||||||
@@ -6,6 +6,8 @@
|
|||||||
#![allow(
|
#![allow(
|
||||||
unknown_lints,
|
unknown_lints,
|
||||||
mixed_script_confusables,
|
mixed_script_confusables,
|
||||||
|
// Clippy bug: https://github.com/rust-lang/rust-clippy/issues/7422
|
||||||
|
clippy::nonstandard_macro_braces,
|
||||||
clippy::ptr_arg,
|
clippy::ptr_arg,
|
||||||
clippy::trivially_copy_pass_by_ref
|
clippy::trivially_copy_pass_by_ref
|
||||||
)]
|
)]
|
||||||
|
|||||||
Reference in New Issue
Block a user