mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Typo
This commit is contained in:
parent
72ebce0e1b
commit
0e3fafaea7
@ -194,7 +194,7 @@ impl<'rt, 'mir, 'tcx, M: CompileTimeMachine<'mir, 'tcx>> ValueVisitor<'mir, 'tcx
|
||||
// Validation has already errored on an invalid vtable pointer so we can safely not
|
||||
// do anything if this is not a real pointer.
|
||||
if let Scalar::Ptr(vtable) = mplace.meta.unwrap() {
|
||||
// Explitly choose `Immutable` here, since vtables are immutable, even
|
||||
// Explicitly choose `Immutable` here, since vtables are immutable, even
|
||||
// if the reference of the fat pointer is mutable.
|
||||
self.intern_shallow(vtable.alloc_id, Mutability::Not, None)?;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user