about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Drinck <fabian.drinck@rwth-aachen.de>2019-03-31 14:11:46 +0200
committerFabian Drinck <fabian.drinck@rwth-aachen.de>2019-03-31 14:11:46 +0200
commitc1d5314bd3b628749491e4fe201b4c6916a53ce6 (patch)
tree287db6ae2f740d526794ebf8c91f4ea790807176
parentae6622da58d011e57489df7971a57f2cb6a6e926 (diff)
downloadrust-c1d5314bd3b628749491e4fe201b4c6916a53ce6.tar.gz
rust-c1d5314bd3b628749491e4fe201b4c6916a53ce6.zip
Remove redundant import
-rw-r--r--src/librustc_codegen_ssa/traits/type_.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/librustc_codegen_ssa/traits/type_.rs b/src/librustc_codegen_ssa/traits/type_.rs
index 7fb2cb9d393..efc18d401c0 100644
--- a/src/librustc_codegen_ssa/traits/type_.rs
+++ b/src/librustc_codegen_ssa/traits/type_.rs
@@ -77,7 +77,6 @@ pub trait DerivedTypeMethods<'tcx>: BaseTypeMethods<'tcx> + MiscMethods<'tcx> {
     }
 
     fn type_has_metadata(&self, ty: Ty<'tcx>) -> bool {
-        use syntax_pos::DUMMY_SP;
         if ty.is_sized(self.tcx().at(DUMMY_SP), ty::ParamEnv::reveal_all()) {
             return false;
         }