about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-03-21 23:10:10 +0100
committerMazdak Farrokhzad <twingoow@gmail.com>2020-03-22 00:35:20 +0100
commiteaa0ae503fd952c7296d8787d70460fe96ccf9ee (patch)
treef92746697bffa1028daba2b3dff6335a0adc5c46 /src/test
parentd18ed205c9032003e2f3b3227a40bdc8f8763c9b (diff)
downloadrust-eaa0ae503fd952c7296d8787d70460fe96ccf9ee.tar.gz
rust-eaa0ae503fd952c7296d8787d70460fe96ccf9ee.zip
parse: nix new_sub_parser_from_file
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ui-fulldeps/mod_dir_path_canonicalized.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui-fulldeps/mod_dir_path_canonicalized.rs b/src/test/ui-fulldeps/mod_dir_path_canonicalized.rs
index 1046355a343..3c5738f574c 100644
--- a/src/test/ui-fulldeps/mod_dir_path_canonicalized.rs
+++ b/src/test/ui-fulldeps/mod_dir_path_canonicalized.rs
@@ -28,6 +28,6 @@ fn parse() {
 
     let path = Path::new(file!());
     let path = path.canonicalize().unwrap();
-    let mut parser = new_parser_from_file(&parse_session, &path);
+    let mut parser = new_parser_from_file(&parse_session, &path, None);
     let _ = parser.parse_crate_mod();
 }