mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-13 16:22:57 +00:00
Remove #[macro_use] extern crate bitflags
This commit is contained in:
parent
d2514523db
commit
c9bc85ecf1
@ -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;
|
||||
|
@ -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).
|
||||
|
Loading…
Reference in New Issue
Block a user