Skip to content

Commit

Permalink
Remove FileType::Other
Browse files Browse the repository at this point in the history
Added in rust-lang#35174, this was already unused (and new uses have not been introduced
since then).
  • Loading branch information
Mark-Simulacrum committed Aug 12, 2020
1 parent a3c73ca commit f043c8f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/librustc_codegen_llvm/llvm/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,9 +358,6 @@ impl SynchronizationScope {
#[derive(Copy, Clone)]
#[repr(C)]
pub enum FileType {
// FIXME: figure out if this variant is needed at all.
#[allow(dead_code)]
Other,
AssemblyFile,
ObjectFile,
}
Expand Down
1 change: 0 additions & 1 deletion src/rustllvm/PassWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,6 @@ extern "C" void LLVMRustSetLLVMOptions(int Argc, char **Argv) {
}

enum class LLVMRustFileType {
Other,
AssemblyFile,
ObjectFile,
};
Expand Down

0 comments on commit f043c8f

Please sign in to comment.