Skip to content

Commit 1af9008

Browse files
authored
Merge pull request #3008 from dwijnand/remove-workaround
Remove #[allow(rust_2018_idioms)] workaround
2 parents dc5ee5a + 1a310bf commit 1af9008

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

clippy_lints/src/utils/conf.rs

-9
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,6 @@ lazy_static! {
7777
macro_rules! define_Conf {
7878
($(#[$doc: meta] ($rust_name: ident, $rust_name_str: expr, $default: expr => $($ty: tt)+),)+) => {
7979
pub use self::helpers::Conf;
80-
// FIXME(mati865): remove #[allow(rust_2018_idioms)] when it's fixed:
81-
//
82-
// warning: `extern crate` is not idiomatic in the new edition
83-
// --> src/utils/conf.rs:82:22
84-
// |
85-
// 82 | #[derive(Deserialize)]
86-
// | ^^^^^^^^^^^ help: convert it to a `use`
87-
//
88-
#[allow(rust_2018_idioms)]
8980
mod helpers {
9081
use serde_derive::Deserialize;
9182
/// Type used to store lint configuration.

0 commit comments

Comments
 (0)