Add regression tests to some S-blocked-on-new-solver issues

That were fixed by the migration.
This commit is contained in:
Chayim Refael Friedman 2025-09-15 08:25:17 +03:00
parent 760d378e4c
commit 40487c6a60
2 changed files with 137 additions and 1 deletions

View file

@ -55,7 +55,7 @@
//! panic: fmt
//! phantom_data:
//! pin:
//! pointee: copy, send, sync, ord, hash, unpin
//! pointee: copy, send, sync, ord, hash, unpin, phantom_data
//! range:
//! receiver: deref
//! result:
@ -504,6 +504,16 @@ pub mod ptr {
#[lang = "metadata_type"]
type Metadata: Copy + Send + Sync + Ord + Hash + Unpin;
}
#[lang = "dyn_metadata"]
pub struct DynMetadata<Dyn: PointeeSized> {
_phantom: crate::marker::PhantomData<Dyn>,
}
pub const fn metadata<T: PointeeSized>(ptr: *const T) -> <T as Pointee>::Metadata {
loop {}
}
// endregion:pointee
// region:non_null
#[rustc_layout_scalar_valid_range_start(1)]