diff --git a/src/header/common/mod.rs b/src/header/common/mod.rs index 12f7f4d76..0b340c9e8 100644 --- a/src/header/common/mod.rs +++ b/src/header/common/mod.rs @@ -73,7 +73,7 @@ macro_rules! test_header { ($id:ident, $raw:expr) => { #[test] fn $id() { - #[allow(unused)] + #[allow(unused, deprecated)] use std::ascii::AsciiExt; use test; let raw = $raw; diff --git a/src/header/shared/charset.rs b/src/header/shared/charset.rs index f3d3f06f4..765b34afa 100644 --- a/src/header/shared/charset.rs +++ b/src/header/shared/charset.rs @@ -1,6 +1,7 @@ -#![allow(unused)] +#![allow(unused, deprecated)] use std::fmt::{self, Display}; use std::str::FromStr; +use std::ascii::AsciiExt; use self::Charset::*; diff --git a/src/header/shared/quality_item.rs b/src/header/shared/quality_item.rs index efece72c8..aa56866ac 100644 --- a/src/header/shared/quality_item.rs +++ b/src/header/shared/quality_item.rs @@ -1,4 +1,4 @@ -#![allow(unused)] +#![allow(unused, deprecated)] use std::ascii::AsciiExt; use std::cmp; use std::default::Default;