Skip to content

Commit

Permalink
Remove #[allow(rust_2018_idioms)] workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
dwijnand committed Aug 6, 2018
1 parent b18a3c5 commit 1a310bf
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions clippy_lints/src/utils/conf.rs
Expand Up @@ -77,15 +77,6 @@ lazy_static! {
macro_rules! define_Conf {
($(#[$doc: meta] ($rust_name: ident, $rust_name_str: expr, $default: expr => $($ty: tt)+),)+) => {
pub use self::helpers::Conf;
// FIXME(mati865): remove #[allow(rust_2018_idioms)] when it's fixed:
//
// warning: `extern crate` is not idiomatic in the new edition
// --> src/utils/conf.rs:82:22
// |
// 82 | #[derive(Deserialize)]
// | ^^^^^^^^^^^ help: convert it to a `use`
//
#[allow(rust_2018_idioms)]
mod helpers {
use serde_derive::Deserialize;
/// Type used to store lint configuration.
Expand Down

0 comments on commit 1a310bf

Please sign in to comment.