mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 14:10:03 +03:00
d814fdd3f9
extra sanity check against consts pointing to mutable memory This should be both unreachable and redundant (since we already ensure that validation only reads from read-only memory, when validating consts), but I feel like we cannot be paranoid enough here, and also if this ever fails it'll be a nicer error than the "cannot read from mutable memory" error.