Skip to content

Commit f043c8f

Browse files
Remove FileType::Other
Added in rust-lang#35174, this was already unused (and new uses have not been introduced since then).
1 parent a3c73ca commit f043c8f

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/librustc_codegen_llvm/llvm/ffi.rs

-3
Original file line numberDiff line numberDiff line change
@@ -358,9 +358,6 @@ impl SynchronizationScope {
358358
#[derive(Copy, Clone)]
359359
#[repr(C)]
360360
pub enum FileType {
361-
// FIXME: figure out if this variant is needed at all.
362-
#[allow(dead_code)]
363-
Other,
364361
AssemblyFile,
365362
ObjectFile,
366363
}

src/rustllvm/PassWrapper.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,6 @@ extern "C" void LLVMRustSetLLVMOptions(int Argc, char **Argv) {
597597
}
598598

599599
enum class LLVMRustFileType {
600-
Other,
601600
AssemblyFile,
602601
ObjectFile,
603602
};

0 commit comments

Comments
 (0)