]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui-fulldeps/mod_dir_path_canonicalized.rs
Rollup merge of #69807 - GuillaumeGomez:cleanup-e0391, r=Dylan-DPC
[rust.git] / src / test / ui-fulldeps / mod_dir_path_canonicalized.rs
index cf675831cfe06e412e22adc17391a6f9ed1b65b4..1046355a3433f6e18e85fd58f8d87927afc588d2 100644 (file)
@@ -1,23 +1,24 @@
 // run-pass
-// Testing that a libsyntax can parse modules with canonicalized base path
+// Testing that a librustc_ast can parse modules with canonicalized base path
 // ignore-cross-compile
 
 #![feature(rustc_private)]
 
-extern crate syntax;
-extern crate syntax_expand;
+extern crate rustc_ast;
 extern crate rustc_parse;
+extern crate rustc_session;
+extern crate rustc_span;
 
 use rustc_parse::new_parser_from_file;
+use rustc_session::parse::ParseSess;
+use rustc_span::source_map::FilePathMapping;
 use std::path::Path;
-use syntax::sess::ParseSess;
-use syntax::source_map::FilePathMapping;
 
 #[path = "mod_dir_simple/test.rs"]
 mod gravy;
 
 pub fn main() {
-    syntax::with_default_globals(|| parse());
+    rustc_ast::with_default_globals(|| parse());
 
     assert_eq!(gravy::foo(), 10);
 }