1
Fork 0

rename PointerKind::Shared → SharedMutable to indicate this is NOT the usual shared reference

This commit is contained in:
Ralf Jung 2022-06-11 23:20:00 -07:00
parent 22d25f21dc
commit 307e80c1a6
2 changed files with 5 additions and 5 deletions

View file

@ -1350,7 +1350,7 @@ impl<'a, Ty> Deref for TyAndLayout<'a, Ty> {
#[derive(Copy, Clone, PartialEq, Eq, Debug)]
pub enum PointerKind {
/// Most general case, we know no restrictions to tell LLVM.
Shared,
SharedMutable,
/// `&T` where `T` contains no `UnsafeCell`, is `noalias` and `readonly`.
Frozen,