]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_plugin_impl/load.rs
Rollup merge of #67959 - liigo:patch-13, r=GuillaumeGomez
[rust.git] / src / librustc_plugin_impl / load.rs
index 3010691dba20d04bd615b9ed7eb942ff1069cc3f..65661ec24f07f9a57ac7c092bdb097ab90dc8e9f 100644 (file)
@@ -3,18 +3,17 @@
 use crate::Registry;
 use rustc::middle::cstore::MetadataLoader;
 use rustc::session::Session;
+use rustc_error_codes::*;
+use rustc_errors::struct_span_err;
 use rustc_metadata::locator;
-
+use rustc_span::symbol::sym;
 use rustc_span::Span;
+use syntax::ast::{Crate, Ident};
+
 use std::borrow::ToOwned;
 use std::env;
 use std::mem;
 use std::path::PathBuf;
-use syntax::ast::{Crate, Ident};
-use syntax::struct_span_err;
-use syntax::symbol::sym;
-
-use rustc_error_codes::*;
 
 /// Pointer to a registrar function.
 type PluginRegistrarFn = fn(&mut Registry<'_>);