Remove #[macro_use] extern crate bitflags

This commit is contained in:
Taiki Endo
2019-02-08 20:13:12 +09:00
parent d2514523db
commit c9bc85ecf1
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -33,8 +33,6 @@
#![deny(rust_2018_idioms)]
#![allow(explicit_outlives_requirements)]
#[macro_use]
extern crate bitflags;
#[macro_use] extern crate log;
#[macro_use]
extern crate rustc;
+1 -1
View File
@@ -30,7 +30,7 @@
use crate::transform::{MirPass, MirSource};
use super::promote_consts::{self, Candidate, TempState};
bitflags! {
bitflags::bitflags! {
// Borrows of temporaries can be promoted only if
// they have none of these qualifications, with
// the exception of `STATIC_REF` (in statics only).