rename PointerKind::Shared → SharedMutable to indicate this is NOT the usual shared reference
This commit is contained in:
parent
22d25f21dc
commit
307e80c1a6
2 changed files with 5 additions and 5 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue