Normalize syntax::symbol imports.

This commit is contained in:
Mazdak Farrokhzad 2020-01-01 19:30:57 +01:00
parent 75e4783f63
commit 4ff12ce4c1
174 changed files with 188 additions and 184 deletions

View file

@ -1,5 +1,5 @@
use rustc::session::Session;
use syntax::symbol::Symbol;
use rustc_span::symbol::Symbol;
use std::io;
use std::path::{Path, PathBuf};

View file

@ -7,8 +7,8 @@ use std::io;
use std::mem;
use std::process::{self, Output};
use rustc_span::symbol::Symbol;
use rustc_target::spec::LldFlavor;
use syntax::symbol::Symbol;
#[derive(Clone)]
pub struct Command {

View file

@ -11,8 +11,8 @@ use rustc::session::{filesearch, Session};
use rustc::util::common::{time, time_ext};
use rustc_data_structures::fx::FxHashSet;
use rustc_fs_util::fix_windows_verbatim_for_gcc;
use rustc_span::symbol::Symbol;
use rustc_target::spec::{LinkerFlavor, PanicStrategy, RelroLevel};
use syntax::symbol::Symbol;
use super::archive::ArchiveBuilder;
use super::command::Command;

View file

@ -15,8 +15,8 @@ use rustc::session::config::{self, CrateType, DebugInfo, LinkerPluginLto, Lto, O
use rustc::session::Session;
use rustc::ty::TyCtxt;
use rustc_serialize::{json, Encoder};
use rustc_span::symbol::Symbol;
use rustc_target::spec::{LinkerFlavor, LldFlavor};
use syntax::symbol::Symbol;
/// For all the linkers we support, and information they might
/// need out of the shared crate context before we get rid of it.