When checking associated type bounds, use bound vars for GAT params in param_env
This commit is contained in:
parent
9583fd1bdd
commit
d9242ff0aa
3 changed files with 84 additions and 12 deletions
|
@ -234,7 +234,7 @@ impl<'a, 'tcx> InternalSubsts<'tcx> {
|
|||
})
|
||||
}
|
||||
|
||||
fn fill_item<F>(
|
||||
pub fn fill_item<F>(
|
||||
substs: &mut SmallVec<[GenericArg<'tcx>; 8]>,
|
||||
tcx: TyCtxt<'tcx>,
|
||||
defs: &ty::Generics,
|
||||
|
@ -249,7 +249,7 @@ impl<'a, 'tcx> InternalSubsts<'tcx> {
|
|||
Self::fill_single(substs, defs, mk_kind)
|
||||
}
|
||||
|
||||
fn fill_single<F>(
|
||||
pub fn fill_single<F>(
|
||||
substs: &mut SmallVec<[GenericArg<'tcx>; 8]>,
|
||||
defs: &ty::Generics,
|
||||
mk_kind: &mut F,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue