1
Fork 0

Add bound_impl_subject and bound_return_ty

This commit is contained in:
Jack Huey 2022-08-03 01:02:46 -04:00
parent 96a69dce2c
commit 955fcad758
8 changed files with 26 additions and 21 deletions

View file

@ -2,9 +2,7 @@ use rustc_data_structures::fx::FxIndexSet;
use rustc_hir as hir;
use rustc_hir::def_id::DefId;
use rustc_middle::ty::subst::Subst;
use rustc_middle::ty::{
self, Binder, EarlyBinder, Predicate, PredicateKind, ToPredicate, Ty, TyCtxt,
};
use rustc_middle::ty::{self, Binder, Predicate, PredicateKind, ToPredicate, Ty, TyCtxt};
use rustc_trait_selection::traits;
fn sized_constraint_for_ty<'tcx>(