Skip to content

Commit

Permalink
Revert "Ignore buggy nonstandard_macro_braces clippy lint"
Browse files Browse the repository at this point in the history
This reverts commit 4bbe3ec.
  • Loading branch information
dtolnay committed Sep 4, 2021
1 parent b47c75d commit e96e0d5
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 34 deletions.
4 changes: 0 additions & 4 deletions tests/test_backtrace.rs
@@ -1,8 +1,4 @@
#![cfg_attr(thiserror_nightly_testing, feature(backtrace))]
#![allow(
// Clippy bug: https://github.com/rust-lang/rust-clippy/issues/7422
clippy::nonstandard_macro_braces,
)]

use thiserror::Error;

Expand Down
4 changes: 0 additions & 4 deletions tests/test_display.rs
@@ -1,8 +1,4 @@
#![deny(clippy::all, clippy::pedantic)]
#![allow(
// Clippy bug: https://github.com/rust-lang/rust-clippy/issues/7422
clippy::nonstandard_macro_braces,
)]

use std::fmt::Display;
use thiserror::Error;
Expand Down
6 changes: 1 addition & 5 deletions tests/test_expr.rs
@@ -1,9 +1,5 @@
#![deny(clippy::all, clippy::pedantic)]
#![allow(
// Clippy bug: https://github.com/rust-lang/rust-clippy/issues/7422
clippy::nonstandard_macro_braces,
clippy::option_if_let_else,
)]
#![allow(clippy::option_if_let_else)]

use std::fmt::Display;
use thiserror::Error;
Expand Down
4 changes: 0 additions & 4 deletions tests/test_from.rs
@@ -1,8 +1,4 @@
#![deny(clippy::all, clippy::pedantic)]
#![allow(
// Clippy bug: https://github.com/rust-lang/rust-clippy/issues/7422
clippy::nonstandard_macro_braces,
)]

use std::io;
use thiserror::Error;
Expand Down
5 changes: 0 additions & 5 deletions tests/test_lints.rs
@@ -1,8 +1,3 @@
#![allow(
// Clippy bug: https://github.com/rust-lang/rust-clippy/issues/7422
clippy::nonstandard_macro_braces,
)]

use thiserror::Error;

pub use std::error::Error;
Expand Down
4 changes: 0 additions & 4 deletions tests/test_path.rs
@@ -1,8 +1,4 @@
#![deny(clippy::all, clippy::pedantic)]
#![allow(
// Clippy bug: https://github.com/rust-lang/rust-clippy/issues/7422
clippy::nonstandard_macro_braces,
)]

use ref_cast::RefCast;
use std::fmt::Display;
Expand Down
4 changes: 0 additions & 4 deletions tests/test_source.rs
@@ -1,8 +1,4 @@
#![deny(clippy::all, clippy::pedantic)]
#![allow(
// Clippy bug: https://github.com/rust-lang/rust-clippy/issues/7422
clippy::nonstandard_macro_braces,
)]

use std::error::Error as StdError;
use std::io;
Expand Down
4 changes: 0 additions & 4 deletions tests/test_transparent.rs
@@ -1,8 +1,4 @@
#![deny(clippy::all, clippy::pedantic)]
#![allow(
// Clippy bug: https://github.com/rust-lang/rust-clippy/issues/7422
clippy::nonstandard_macro_braces,
)]

use anyhow::anyhow;
use std::error::Error as _;
Expand Down

0 comments on commit e96e0d5

Please sign in to comment.