]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_target/src/abi/mod.rs
rename PointerKind::Shared → SharedMutable to indicate this is NOT the usual shared...
[rust.git] / compiler / rustc_target / src / abi / mod.rs
index 6f4d073d7048696488ad91a94fe096532583e492..b8398daadf1474674bbf3689cffa79db030b9309 100644 (file)
@@ -1350,7 +1350,7 @@ fn deref(&self) -> &&'a LayoutS<'a> {
 #[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,