]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_const_eval/src/interpret/machine.rs
Rollup merge of #101101 - RalfJung:read-pointer-as-bytes, r=oli-obk
[rust.git] / compiler / rustc_const_eval / src / interpret / machine.rs
index 6ca983714978f241402dea52c9c7e96bcd9e146c..5aabb14fba88454bc55bbf7c824e52d5a456a95a 100644 (file)
@@ -315,7 +315,7 @@ fn ptr_get_alloc(
     /// cache the result. (This relies on `AllocMap::get_or` being able to add the
     /// owned allocation to the map even when the map is shared.)
     ///
-    /// This must only fail if `alloc` contains relocations.
+    /// This must only fail if `alloc` contains provenance.
     fn adjust_allocation<'b>(
         ecx: &InterpCx<'mir, 'tcx, Self>,
         id: AllocId,