diff options
| author | Ralf Jung <post@ralfj.de> | 2023-01-31 18:49:03 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2023-01-31 18:49:03 +0100 |
| commit | c8e8d6e7f667edbdf5ca97afe2ec877fd9eff480 (patch) | |
| tree | bf25e5a8a69827891ce3e40937f4f217011d1c19 /compiler/rustc_abi | |
| parent | 7c4a9a971ca6962533bed01ffbd0c1f6b5250abc (diff) | |
PointeeInfo is advisory only
Diffstat (limited to 'compiler/rustc_abi')
| -rw-r--r-- | compiler/rustc_abi/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_abi/src/lib.rs b/compiler/rustc_abi/src/lib.rs index fe65ad9c6cb..5af6206c0bb 100644 --- a/compiler/rustc_abi/src/lib.rs +++ b/compiler/rustc_abi/src/lib.rs @@ -1456,6 +1456,8 @@ pub enum PointerKind { UniqueOwned, } +/// Note that this information is advisory only, and backends are free to ignore it. +/// It can only be used to encode potential optimizations, but no critical information. #[derive(Copy, Clone, Debug)] pub struct PointeeInfo { pub size: Size, |
