]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_codegen_utils/symbol_names_test.rs
Fix tidy warnings
[rust.git] / src / librustc_codegen_utils / symbol_names_test.rs
index 7cb3050576c76e2440f0c4196ec71e18c660ecaf..8f2f2628e7b7f2bce7658f7f3e72379fd43992be 100644 (file)
@@ -4,9 +4,9 @@
 //! def-path. This is used for unit testing the code that generates
 //! paths etc in all kinds of annoying scenarios.
 
-use rustc::hir;
 use rustc::ty::{Instance, TyCtxt};
-use syntax::symbol::{sym, Symbol};
+use rustc_hir as hir;
+use rustc_span::symbol::{sym, Symbol};
 
 const SYMBOL_NAME: Symbol = sym::rustc_symbol_name;
 const DEF_PATH: Symbol = sym::rustc_def_path;