We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4968dfa commit 580074aCopy full SHA for 580074a
compiler/rustc_const_eval/src/const_eval/machine.rs
@@ -347,7 +347,8 @@ impl<'tcx> CompileTimeInterpCx<'tcx> {
347
// cannot be sure of runtime equality of pointers to the same one, (or the
348
// runtime inequality of pointers to different ones) (see e.g. #73722).
349
Some(GlobalAlloc::Function { .. } | GlobalAlloc::VTable(..)) => 2,
350
- // FIXME: Can these can be duplicated?
+ // FIXME: Revisit this once https://github.com/rust-lang/rust/issues/128775
351
+ // is fixed.
352
Some(GlobalAlloc::Memory(..)) => 2,
353
// `GlobalAlloc::TypeId` exists mostly to prevent consteval from comparing
354
// `TypeId`s, always return 2
0 commit comments