Skip to content

Commit 1f96e55

Browse files
Rollup merge of rust-lang#130690 - RalfJung:interpret-abi-compat-fixme, r=jieyouxu
interpret: remove outdated FIXME The rule about `repr(C)` types with compatible fields got removed from the ABI compat docs before they landed, so this FIXME here is no longer correct. (So this is basically a follow-up to rust-lang#130185, doing some more cleanup around deciding not to guarantee ABI compatibility for structurally compatible `repr(C)` types.)
2 parents f4509dc + 27400ea commit 1f96e55

File tree

1 file changed

+0
-1
lines changed
  • compiler/rustc_const_eval/src/interpret

1 file changed

+0
-1
lines changed

compiler/rustc_const_eval/src/interpret/call.rs

-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> {
221221
}
222222

223223
// Fall back to exact equality.
224-
// FIXME: We are missing the rules for "repr(C) wrapping compatible types".
225224
Ok(caller == callee)
226225
}
227226

0 commit comments

Comments
 (0)