Skip to content

Commit

Permalink
Remove redundant import
Browse files Browse the repository at this point in the history
  • Loading branch information
fabric-and-ink committed Mar 31, 2019
1 parent ae6622d commit c1d5314
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/librustc_codegen_ssa/traits/type_.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c1d5314

Please sign in to comment.