Skip to content

Commit

Permalink
PointeeInfo is advisory only
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Jan 31, 2023
1 parent 7c4a9a9 commit c8e8d6e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compiler/rustc_abi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c8e8d6e

Please sign in to comment.