PointeeInfo is advisory only

This commit is contained in:
Ralf Jung 2023-01-31 18:49:03 +01:00
parent 7c4a9a971c
commit c8e8d6e7f6

View File

@ -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,