Skip to content

Commit

Permalink
Ignore buggy nonstandard_macro_braces clippy lint
Browse files Browse the repository at this point in the history
Clippy bug: rust-lang/rust-clippy#7422

    error: use of irregular braces for `write!` macro
      --> src/main.rs:68:10
       |
    68 | #[derive(Error, Debug)]
       |          ^^^^^
       |
       = note: `-D clippy::nonstandard-macro-braces` implied by `-D clippy::all`
    help: consider writing `Error`
      --> src/main.rs:68:10
       |
    68 | #[derive(Error, Debug)]
       |          ^^^^^
       = 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 `Error` (in Nightly builds, run with -Z macro-backtrace for more info)
  • Loading branch information
dtolnay committed Jul 3, 2021
1 parent a2c8036 commit ce091bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.rs
Expand Up @@ -7,6 +7,8 @@
#![allow(
clippy::default_trait_access,
clippy::let_underscore_drop,
// Clippy bug: https://github.com/rust-lang/rust-clippy/issues/7422
clippy::nonstandard_macro_braces,
clippy::similar_names,
clippy::single_match_else,
clippy::too_many_lines,
Expand Down

0 comments on commit ce091bd

Please sign in to comment.