diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-09-22 19:19:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-22 19:19:15 +0200 |
| commit | f40efa44ab3027e627a527c46af5a40a2cb8e2b0 (patch) | |
| tree | aadcefa504bb5834d2f23249c40bf5dea152de06 | |
| parent | 82b4177395c7d85b72b5410def0e7c8bf851fbed (diff) | |
| parent | 27400ea4ed350f0a32e8423323d830c3ed139eeb (diff) | |
| download | rust-f40efa44ab3027e627a527c46af5a40a2cb8e2b0.tar.gz rust-f40efa44ab3027e627a527c46af5a40a2cb8e2b0.zip | |
Rollup merge of #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 https://github.com/rust-lang/rust/pull/130185, doing some more cleanup around deciding not to guarantee ABI compatibility for structurally compatible `repr(C)` types.)
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/call.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/call.rs b/compiler/rustc_const_eval/src/interpret/call.rs index 97f7242b336..575d9a00966 100644 --- a/compiler/rustc_const_eval/src/interpret/call.rs +++ b/compiler/rustc_const_eval/src/interpret/call.rs @@ -221,7 +221,6 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> { } // Fall back to exact equality. - // FIXME: We are missing the rules for "repr(C) wrapping compatible types". Ok(caller == callee) } |
