Remove #[allow(rust_2018_idioms)] workaround
This commit is contained in:
parent
b18a3c5b60
commit
1a310bfdf7
1 changed files with 0 additions and 9 deletions
|
@ -77,15 +77,6 @@ lazy_static! {
|
||||||
macro_rules! define_Conf {
|
macro_rules! define_Conf {
|
||||||
($(#[$doc: meta] ($rust_name: ident, $rust_name_str: expr, $default: expr => $($ty: tt)+),)+) => {
|
($(#[$doc: meta] ($rust_name: ident, $rust_name_str: expr, $default: expr => $($ty: tt)+),)+) => {
|
||||||
pub use self::helpers::Conf;
|
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 {
|
mod helpers {
|
||||||
use serde_derive::Deserialize;
|
use serde_derive::Deserialize;
|
||||||
/// Type used to store lint configuration.
|
/// Type used to store lint configuration.
|
||||||
|
|
Loading…
Reference in a new issue