Address code review comments
This commit is contained in:
parent
de42ac3970
commit
cf04547b0b
27 changed files with 199 additions and 261 deletions
|
@ -816,6 +816,7 @@ pub(crate) fn assert_assignable<'tcx>(
|
|||
// fn(&T) -> for<'l> fn(&'l T) is allowed
|
||||
}
|
||||
(&ty::Dynamic(from_traits, _, _from_kind), &ty::Dynamic(to_traits, _, _to_kind)) => {
|
||||
// FIXME(dyn-star): Do the right thing with DynKinds
|
||||
for (from, to) in from_traits.iter().zip(to_traits) {
|
||||
let from =
|
||||
fx.tcx.normalize_erasing_late_bound_regions(ParamEnv::reveal_all(), from);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue