Skip to content

Commit 44e1c14

Browse files
committed
Fix build
1 parent 05f7dc6 commit 44e1c14

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/mismatch.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use rustc::{
1010
hir::def_id::DefId,
1111
ty::{
1212
self,
13-
relate::{Relate, RelateResult, TraitObjectMode, TypeRelation},
13+
relate::{Relate, RelateResult, TypeRelation},
1414
subst::Substs,
1515
Ty, TyCtxt,
1616
Visibility::Public,
@@ -95,10 +95,6 @@ impl<'a, 'gcx, 'tcx> TypeRelation<'a, 'gcx, 'tcx> for MismatchRelation<'a, 'gcx,
9595
"Mismatch"
9696
}
9797

98-
fn trait_object_mode(&self) -> TraitObjectMode {
99-
TraitObjectMode::NoSquash
100-
}
101-
10298
fn a_is_expected(&self) -> bool {
10399
true
104100
}

0 commit comments

Comments
 (0)