diff options
| author | Ralf Jung <post@ralfj.de> | 2022-06-11 23:20:00 -0700 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2022-07-22 14:22:05 -0400 |
| commit | 307e80c1a64e189c5711892b4b03f0454fcefb79 (patch) | |
| tree | c1f47c286a9bfaf8d795d2b27a3bf2a7fc389d36 /compiler/rustc_target/src | |
| parent | 22d25f21dc008785f52e7c2833de4f4236b1066b (diff) | |
| download | rust-307e80c1a64e189c5711892b4b03f0454fcefb79.tar.gz rust-307e80c1a64e189c5711892b4b03f0454fcefb79.zip | |
rename PointerKind::Shared → SharedMutable to indicate this is NOT the usual shared reference
Diffstat (limited to 'compiler/rustc_target/src')
| -rw-r--r-- | compiler/rustc_target/src/abi/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/abi/mod.rs b/compiler/rustc_target/src/abi/mod.rs index 6f4d073d704..b8398daadf1 100644 --- a/compiler/rustc_target/src/abi/mod.rs +++ b/compiler/rustc_target/src/abi/mod.rs @@ -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, |
