1
Fork 0

#[lang_item] for core::ptr::Unique

This commit is contained in:
Neven Villani 2023-06-15 17:43:23 +02:00
parent 4996b56ba9
commit dc3e91c6c2
No known key found for this signature in database
GPG key ID: 00E765FA7F4F2EDE
3 changed files with 5 additions and 0 deletions

View file

@ -260,6 +260,8 @@ language_item_table! {
EhCatchTypeinfo, sym::eh_catch_typeinfo, eh_catch_typeinfo, Target::Static, GenericRequirement::None;
OwnedBox, sym::owned_box, owned_box, Target::Struct, GenericRequirement::Minimum(1);
// Experimental language item for Miri
PtrUnique, sym::ptr_unique, ptr_unique, Target::Struct, GenericRequirement::Exact(1);
PhantomData, sym::phantom_data, phantom_data, Target::Struct, GenericRequirement::Exact(1);

View file

@ -1156,6 +1156,7 @@ symbols! {
ptr_null_mut,
ptr_offset_from,
ptr_offset_from_unsigned,
ptr_unique,
pub_macro_rules,
pub_restricted,
public,