Skip to content

Commit c9bc85e

Browse files
committed
Remove #[macro_use] extern crate bitflags
1 parent d251452 commit c9bc85e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/librustc_mir/lib.rs

-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ Rust MIR: a lowered representation of Rust. Also: an experiment!
3333
#![deny(rust_2018_idioms)]
3434
#![allow(explicit_outlives_requirements)]
3535

36-
#[macro_use]
37-
extern crate bitflags;
3836
#[macro_use] extern crate log;
3937
#[macro_use]
4038
extern crate rustc;

src/librustc_mir/transform/qualify_consts.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ use std::usize;
3030
use crate::transform::{MirPass, MirSource};
3131
use super::promote_consts::{self, Candidate, TempState};
3232

33-
bitflags! {
33+
bitflags::bitflags! {
3434
// Borrows of temporaries can be promoted only if
3535
// they have none of these qualifications, with
3636
// the exception of `STATIC_REF` (in statics only).

0 commit comments

Comments
 (0)