Skip to content

Commit 6d544a8

Browse files
committed
Address code review comments
1 parent 0221923 commit 6d544a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/value_and_place.rs

+1
Original file line numberDiff line numberDiff line change
@@ -816,6 +816,7 @@ pub(crate) fn assert_assignable<'tcx>(
816816
// fn(&T) -> for<'l> fn(&'l T) is allowed
817817
}
818818
(&ty::Dynamic(from_traits, _, _from_kind), &ty::Dynamic(to_traits, _, _to_kind)) => {
819+
// FIXME(dyn-star): Do the right thing with DynKinds
819820
for (from, to) in from_traits.iter().zip(to_traits) {
820821
let from =
821822
fx.tcx.normalize_erasing_late_bound_regions(ParamEnv::reveal_all(), from);

0 commit comments

Comments
 (0)