X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flibrustc_plugin_impl%2Fload.rs;h=84549c0dd4554930f09626911ef46d9bc56d8241;hb=143059deafe1e5df3cbbaf4d47f5461af7bcf8c3;hp=2215e49ec977a9834fdb2545f7936e109f712969;hpb=814e3af8bdd60cc6e140327ed184619dd49a002b;p=rust.git diff --git a/src/librustc_plugin_impl/load.rs b/src/librustc_plugin_impl/load.rs index 2215e49ec97..84549c0dd45 100644 --- a/src/librustc_plugin_impl/load.rs +++ b/src/librustc_plugin_impl/load.rs @@ -3,18 +3,16 @@ use crate::Registry; use rustc::middle::cstore::MetadataLoader; use rustc::session::Session; +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 rustc_error_codes::*; /// Pointer to a registrar function. type PluginRegistrarFn = fn(&mut Registry<'_>);