about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-10-21 20:18:01 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2021-10-21 20:18:01 +0200
commit1ceda5bb7e03200d402871e3e9105059d0ce64b0 (patch)
tree9ceebaa685e1fc94adb51ac16fe7549a4f74af78
parentadabc2ccda2e244e4f5758f0eff12a8ba75c664c (diff)
downloadrust-1ceda5bb7e03200d402871e3e9105059d0ce64b0.tar.gz
rust-1ceda5bb7e03200d402871e3e9105059d0ce64b0.zip
Remove unncesessary TryFrom and TryInto impls
-rw-r--r--src/archive.rs1
-rw-r--r--src/debuginfo/object.rs2
-rw-r--r--src/lib.rs2
3 files changed, 0 insertions, 5 deletions
diff --git a/src/archive.rs b/src/archive.rs
index 71f510c037f..14f1f9d61df 100644
--- a/src/archive.rs
+++ b/src/archive.rs
@@ -1,7 +1,6 @@
 //! Creation of ar archives like for the lib and staticlib crate type
 
 use std::collections::BTreeMap;
-use std::convert::TryFrom;
 use std::fs::File;
 use std::io::{self, Read, Seek};
 use std::path::{Path, PathBuf};
diff --git a/src/debuginfo/object.rs b/src/debuginfo/object.rs
index 9984dc92c44..9dc9b2cf9f8 100644
--- a/src/debuginfo/object.rs
+++ b/src/debuginfo/object.rs
@@ -1,5 +1,3 @@
-use std::convert::{TryFrom, TryInto};
-
 use rustc_data_structures::fx::FxHashMap;
 
 use cranelift_module::FuncId;
diff --git a/src/lib.rs b/src/lib.rs
index 2f3821dee79..c392069cbe0 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -71,8 +71,6 @@ mod value_and_place;
 mod vtable;
 
 mod prelude {
-    pub(crate) use std::convert::{TryFrom, TryInto};
-
     pub(crate) use rustc_span::{FileNameDisplayPreference, Span};
 
     pub(crate) use rustc_hir::def_id::{DefId, LOCAL_CRATE};