From adc2793e7d0fff7b91c55290d93b4171981e29b4 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Mon, 27 Sep 2021 11:20:04 +0200 Subject: [PATCH] Fix unused import warning TryInto is part of the 2021 edition prelude --- src/debuginfo/emit.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/debuginfo/emit.rs b/src/debuginfo/emit.rs index c8c2d50b034..4120ba6e533 100644 --- a/src/debuginfo/emit.rs +++ b/src/debuginfo/emit.rs @@ -69,8 +69,6 @@ impl WriterRelocate { /// Perform the collected relocations to be usable for JIT usage. #[cfg(feature = "jit")] pub(super) fn relocate_for_jit(mut self, jit_module: &cranelift_jit::JITModule) -> Vec { - use std::convert::TryInto; - for reloc in self.relocs.drain(..) { match reloc.name { super::DebugRelocName::Section(_) => unreachable!(),