summaryrefslogtreecommitdiff
path: root/compiler/rustc_abi
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2023-01-02 14:09:01 +0100
committerRalf Jung <post@ralfj.de>2023-02-06 12:17:41 +0100
commit1ef16874b5ef79e193526cd23eebd30d45826360 (patch)
tree997b7585d5e67dbba9fb0a406f8e95e7a4e168e8 /compiler/rustc_abi
parentea541bc2ee00c955e3f7eb3ddd5c3ab80146ab71 (diff)
downloadrust-1ef16874b5ef79e193526cd23eebd30d45826360.tar.gz
also do not add noalias on not-Unpin Box
Diffstat (limited to 'compiler/rustc_abi')
-rw-r--r--compiler/rustc_abi/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_abi/src/lib.rs b/compiler/rustc_abi/src/lib.rs
index 9126c516d38..0306cb5ce6a 100644
--- a/compiler/rustc_abi/src/lib.rs
+++ b/compiler/rustc_abi/src/lib.rs
@@ -1443,8 +1443,8 @@ pub enum PointerKind {
SharedRef { frozen: bool },
/// Mutable reference. `unpin` indicates the absence of any pinned data.
MutableRef { unpin: bool },
- /// Box.
- Box,
+ /// Box. `unpin` indicates the absence of any pinned data.
+ Box { unpin: bool },
}
/// Note that this information is advisory only, and backends are free to ignore it.