diff options
| author | Eric Holk <ericholk@microsoft.com> | 2022-08-30 12:44:00 -0700 |
|---|---|---|
| committer | Eric Holk <ericholk@microsoft.com> | 2022-09-13 14:50:12 -0700 |
| commit | cf04547b0b793b55f1255142dc07d3c8437f6815 (patch) | |
| tree | 0bc6fd4804dd5c7b05f51c19d063e19c718584b2 /compiler/rustc_codegen_cranelift | |
| parent | de42ac39709f2307f20530c587bc2bdd110524fc (diff) | |
| download | rust-cf04547b0b793b55f1255142dc07d3c8437f6815.tar.gz rust-cf04547b0b793b55f1255142dc07d3c8437f6815.zip | |
Address code review comments
Diffstat (limited to 'compiler/rustc_codegen_cranelift')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/src/value_and_place.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/value_and_place.rs b/compiler/rustc_codegen_cranelift/src/value_and_place.rs index d58b52851ac..cfaadca9491 100644 --- a/compiler/rustc_codegen_cranelift/src/value_and_place.rs +++ b/compiler/rustc_codegen_cranelift/src/value_and_place.rs @@ -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); |
