Suppress a warning about AsciiExt being deprecated.

We currently support versions of Rust which need this import, so
suppress the warning on versions of Rust which deprecated it.
This commit is contained in:
Dan Gohman
2018-04-30 08:09:31 -07:00
parent 4942772f90
commit f4fe438bae

View File

@@ -3,7 +3,7 @@
use cretonne_codegen::ir::types;
use cretonne_codegen::ir::{Ebb, Value};
use error::Location;
#[allow(unused_imports)]
#[allow(unused_imports, deprecated)]
use std::ascii::AsciiExt;
use std::str::CharIndices;
use std::u16;