diff options
author | Ralf Jung <post@ralfj.de> | 2023-01-02 14:09:01 +0100 |
---|---|---|
committer | Ralf Jung <post@ralfj.de> | 2023-02-06 12:17:41 +0100 |
commit | 1ef16874b5ef79e193526cd23eebd30d45826360 (patch) | |
tree | 997b7585d5e67dbba9fb0a406f8e95e7a4e168e8 /compiler/rustc_abi | |
parent | ea541bc2ee00c955e3f7eb3ddd5c3ab80146ab71 (diff) | |
download | rust-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.rs | 4 |
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. |