Cleanups and comments
This commit is contained in:
parent
0c98dc66fd
commit
7108918db6
7 changed files with 216 additions and 267 deletions
|
@ -82,7 +82,6 @@ impl<'tcx> AutoTraitFinder<'tcx> {
|
|||
) -> AutoTraitResult<A> {
|
||||
let tcx = self.tcx;
|
||||
|
||||
debug_assert!(!ty.has_escaping_bound_vars());
|
||||
let trait_ref = ty::TraitRef { def_id: trait_did, substs: tcx.mk_substs_trait(ty, &[]) };
|
||||
|
||||
let trait_pred = ty::Binder::dummy(trait_ref);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue