]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_metadata/native_libs.rs
Rollup merge of #69732 - GuillaumeGomez:cleanup-e0382-e0384, r=Dylan-DPC
[rust.git] / src / librustc_metadata / native_libs.rs
index c9f47475af851afd979b048848997602d0f03a9e..2fa9cb099dd515e679f1bd2aa7f1f43feb1d35e5 100644 (file)
@@ -1,16 +1,15 @@
-use errors::struct_span_err;
 use rustc::middle::cstore::{self, NativeLibrary};
+use rustc::session::parse::feature_err;
 use rustc::session::Session;
 use rustc::ty::TyCtxt;
+use rustc_attr as attr;
 use rustc_data_structures::fx::FxHashSet;
-use rustc_error_codes::*;
+use rustc_errors::struct_span_err;
 use rustc_hir as hir;
 use rustc_hir::itemlikevisit::ItemLikeVisitor;
 use rustc_span::source_map::Span;
 use rustc_span::symbol::{kw, sym, Symbol};
 use rustc_target::spec::abi::Abi;
-use syntax::attr;
-use syntax::feature_gate::feature_err;
 
 crate fn collect(tcx: TyCtxt<'_>) -> Vec<NativeLibrary> {
     let mut collector = Collector { tcx, libs: Vec::new() };