about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift
diff options
context:
space:
mode:
authorEric Holk <ericholk@microsoft.com>2022-08-30 12:44:00 -0700
committerEric Holk <ericholk@microsoft.com>2022-09-13 14:50:12 -0700
commitcf04547b0b793b55f1255142dc07d3c8437f6815 (patch)
tree0bc6fd4804dd5c7b05f51c19d063e19c718584b2 /compiler/rustc_codegen_cranelift
parentde42ac39709f2307f20530c587bc2bdd110524fc (diff)
downloadrust-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.rs1
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);