We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0221923 commit 6d544a8Copy full SHA for 6d544a8
1 file changed
src/value_and_place.rs
@@ -816,6 +816,7 @@ pub(crate) fn assert_assignable<'tcx>(
816
// fn(&T) -> for<'l> fn(&'l T) is allowed
817
}
818
(&ty::Dynamic(from_traits, _, _from_kind), &ty::Dynamic(to_traits, _, _to_kind)) => {
819
+ // FIXME(dyn-star): Do the right thing with DynKinds
820
for (from, to) in from_traits.iter().zip(to_traits) {
821
let from =
822
fx.tcx.normalize_erasing_late_bound_regions(ParamEnv::reveal_all(), from);
0 commit comments