We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d251452 commit c9bc85eCopy full SHA for c9bc85e
src/librustc_mir/lib.rs
@@ -33,8 +33,6 @@ Rust MIR: a lowered representation of Rust. Also: an experiment!
33
#![deny(rust_2018_idioms)]
34
#![allow(explicit_outlives_requirements)]
35
36
-#[macro_use]
37
-extern crate bitflags;
38
#[macro_use] extern crate log;
39
#[macro_use]
40
extern crate rustc;
src/librustc_mir/transform/qualify_consts.rs
@@ -30,7 +30,7 @@ use std::usize;
30
use crate::transform::{MirPass, MirSource};
31
use super::promote_consts::{self, Candidate, TempState};
32
-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).
0 commit comments