]> 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 be4b49ada02c749efa62df4805e740d5b6eafc85..1046355a3433f6e18e85fd58f8d87927afc588d2 100644 (file)
@@ -1,10 +1,10 @@
 // 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 rustc_ast;
 extern crate rustc_parse;
 extern crate rustc_session;
 extern crate rustc_span;
@@ -18,7 +18,7 @@
 mod gravy;
 
 pub fn main() {
-    syntax::with_default_globals(|| parse());
+    rustc_ast::with_default_globals(|| parse());
 
     assert_eq!(gravy::foo(), 10);
 }