mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
Remove #[macro_use] extern crate bitflags
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user