Skip to content

Commit c8e8d6e

Browse files
committed
PointeeInfo is advisory only
1 parent 7c4a9a9 commit c8e8d6e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler/rustc_abi/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1456,6 +1456,8 @@ pub enum PointerKind {
14561456
UniqueOwned,
14571457
}
14581458

1459+
/// Note that this information is advisory only, and backends are free to ignore it.
1460+
/// It can only be used to encode potential optimizations, but no critical information.
14591461
#[derive(Copy, Clone, Debug)]
14601462
pub struct PointeeInfo {
14611463
pub size: Size,

0 commit comments

Comments
 (0)