2024-10-06 12:59:19 -05:00
|
|
|
#![feature(staged_api, rustc_attrs, intrinsics)]
|
|
|
|
#![stable(since="1.0.0", feature = "stable")]
|
|
|
|
|
2024-11-01 16:19:42 -05:00
|
|
|
#[unstable(feature = "unstable", issue = "42")]
|
|
|
|
#[rustc_intrinsic]
|
2024-11-02 02:49:49 -05:00
|
|
|
#[rustc_intrinsic_must_be_overridden]
|
2024-11-01 16:19:42 -05:00
|
|
|
pub const unsafe fn size_of_val<T>(x: *const T) -> usize { 42 }
|
|
|
|
|
|
|
|
#[unstable(feature = "unstable", issue = "42")]
|
|
|
|
#[rustc_const_unstable(feature = "unstable", issue = "42")]
|
|
|
|
#[rustc_intrinsic]
|
2024-11-02 02:49:49 -05:00
|
|
|
#[rustc_intrinsic_must_be_overridden]
|
2024-11-01 16:19:42 -05:00
|
|
|
pub const unsafe fn min_align_of_val<T>(x: *const T) -> usize { 42 }
|