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

View file

@ -33,8 +33,6 @@ Rust MIR: a lowered representation of Rust. Also: an experiment!
#![deny(rust_2018_idioms)]
#![allow(explicit_outlives_requirements)]
#[macro_use]
extern crate bitflags;
#[macro_use] extern crate log;
#[macro_use]
extern crate rustc;

View file

@ -30,7 +30,7 @@ use std::usize;
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).