mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
PointeeInfo is advisory only
This commit is contained in:
parent
7c4a9a971c
commit
c8e8d6e7f6
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user