about summary refs log tree commit diff
path: root/compiler/rustc_session/src/filesearch.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-11-28 16:02:04 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2023-11-30 17:05:56 +1100
commitc5408b661789e6732c68dda5406a668e317908e5 (patch)
treec38c0d33d85703570688646fdbe682a76ae05594 /compiler/rustc_session/src/filesearch.rs
parent99ac405b96d89ebb39e177f199934bc95868071d (diff)
downloadrust-c5408b661789e6732c68dda5406a668e317908e5.tar.gz
rust-c5408b661789e6732c68dda5406a668e317908e5.zip
Remove unused `FileMatch`.
Diffstat (limited to 'compiler/rustc_session/src/filesearch.rs')
-rw-r--r--compiler/rustc_session/src/filesearch.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/rustc_session/src/filesearch.rs b/compiler/rustc_session/src/filesearch.rs
index 3988416d0c7..6e459ac45d3 100644
--- a/compiler/rustc_session/src/filesearch.rs
+++ b/compiler/rustc_session/src/filesearch.rs
@@ -9,12 +9,6 @@ use std::path::{Path, PathBuf};
 use crate::search_paths::{PathKind, SearchPath};
 use rustc_fs_util::fix_windows_verbatim_for_gcc;
 
-#[derive(Copy, Clone)]
-pub enum FileMatch {
-    FileMatches,
-    FileDoesntMatch,
-}
-
 #[derive(Clone)]
 pub struct FileSearch<'a> {
     sysroot: &'a Path,