about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-03-23 04:26:12 +0100
committerGitHub <noreply@github.com>2020-03-23 04:26:12 +0100
commit8dda61792bc662073bee1cea6002705b1b5e0bc5 (patch)
treebfa8b2cb0891c893127484dcc96d034763768289 /src/test
parent08dfd1344c47c5a7e3abbee10db6d0bcfde6d107 (diff)
parenteaa0ae503fd952c7296d8787d70460fe96ccf9ee (diff)
downloadrust-8dda61792bc662073bee1cea6002705b1b5e0bc5.tar.gz
rust-8dda61792bc662073bee1cea6002705b1b5e0bc5.zip
Rollup merge of #70248 - Centril:unroot, r=petrochenkov
parser: simplify & remove unused field

r? @petrochenkov
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();
 }