about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-04-23 15:57:16 +0200
committerGitHub <noreply@github.com>2020-04-23 15:57:16 +0200
commit414355b42e2b0f145f6f1ff64b694eeeb3a3dd9a (patch)
treecefba7abd46595e3a4fab12cc81dfb467834de34
parent4ae7037582f59b967275af80c06ddbba3414bdf7 (diff)
parente97c227dbc754139da8af10305d8e638651d36fb (diff)
downloadrust-414355b42e2b0f145f6f1ff64b694eeeb3a3dd9a.tar.gz
rust-414355b42e2b0f145f6f1ff64b694eeeb3a3dd9a.zip
Rollup merge of #71452 - ecstatic-morse:no-more-snapshot, r=RalfJung
Remove outdated reference to interpreter snapshotting

This should have been a part of #70087.

r? @RalfJung
-rw-r--r--src/librustc_middle/mir/interpret/allocation.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/librustc_middle/mir/interpret/allocation.rs b/src/librustc_middle/mir/interpret/allocation.rs
index 8b9f0977485..afc6a958296 100644
--- a/src/librustc_middle/mir/interpret/allocation.rs
+++ b/src/librustc_middle/mir/interpret/allocation.rs
@@ -13,8 +13,6 @@ use super::{
     read_target_uint, write_target_uint, AllocId, InterpResult, Pointer, Scalar, ScalarMaybeUndef,
 };
 
-// NOTE: When adding new fields, make sure to adjust the `Snapshot` impl in
-// `src/librustc_mir/interpret/snapshot.rs`.
 #[derive(Clone, Debug, Eq, PartialEq, PartialOrd, Ord, Hash, RustcEncodable, RustcDecodable)]
 #[derive(HashStable)]
 pub struct Allocation<Tag = (), Extra = ()> {