fix unqualified_local_imports in rustc_const_eval
This commit is contained in:
parent
4c43757e43
commit
1eb51e717e
3 changed files with 11 additions and 8 deletions
|
@ -1,6 +1,8 @@
|
|||
// tidy-alphabetical-start
|
||||
#![allow(internal_features)]
|
||||
#![allow(rustc::diagnostic_outside_of_impl)]
|
||||
#![cfg_attr(not(bootstrap), feature(unqualified_local_imports))]
|
||||
#![cfg_attr(not(bootstrap), warn(unqualified_local_imports))]
|
||||
#![doc(rust_logo)]
|
||||
#![feature(assert_matches)]
|
||||
#![feature(box_patterns)]
|
||||
|
@ -25,10 +27,11 @@ pub mod util;
|
|||
|
||||
use std::sync::atomic::AtomicBool;
|
||||
|
||||
pub use errors::ReportErrorExt;
|
||||
use rustc_middle::ty;
|
||||
use rustc_middle::util::Providers;
|
||||
|
||||
pub use self::errors::ReportErrorExt;
|
||||
|
||||
rustc_fluent_macro::fluent_messages! { "../messages.ftl" }
|
||||
|
||||
pub fn provide(providers: &mut Providers) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue