mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-17 15:08:53 +00:00
14 lines
500 B
Rust
14 lines
500 B
Rust
#![feature(staged_api, rustc_attrs, intrinsics)]
|
|
#![stable(since="1.0.0", feature = "stable")]
|
|
|
|
#[unstable(feature = "unstable", issue = "42")]
|
|
#[rustc_intrinsic]
|
|
#[rustc_intrinsic_must_be_overridden]
|
|
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]
|
|
#[rustc_intrinsic_must_be_overridden]
|
|
pub const unsafe fn min_align_of_val<T>(x: *const T) -> usize { 42 }
|