Rollup merge of #100613 - eltociear:patch-15, r=Mark-Simulacrum

compiletest: fix typo in runtest.rs

nonexistant -> nonexistent
This commit is contained in:
Dylan DPC 2022-08-16 18:16:14 +05:30 committed by GitHub
commit 04dd36941b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3761,7 +3761,7 @@ fn load_expected_output_from_path(&self, path: &Path) -> Result<String, String>
fn delete_file(&self, file: &PathBuf) {
if !file.exists() {
// Deleting a nonexistant file would error.
// Deleting a nonexistent file would error.
return;
}
if let Err(e) = fs::remove_file(file) {