diff options
| author | David Wood <david.wood2@arm.com> | 2025-02-27 23:30:16 +0000 |
|---|---|---|
| committer | David Wood <david.wood2@arm.com> | 2025-06-16 15:00:22 +0000 |
| commit | c6d88a1892ed9a7e6b12d116070be59114a624ad (patch) | |
| tree | ea6dc6019cf5dfda2024a099681db57ee65b7cef /tests/auxiliary | |
| parent | 3b0e1c17d285f5e8f93c07b5fc8f9c6aa277c0dd (diff) | |
| download | rust-c6d88a1892ed9a7e6b12d116070be59114a624ad.tar.gz rust-c6d88a1892ed9a7e6b12d116070be59114a624ad.zip | |
aux: add `{Meta,Pointee}Sized` to minicore
Add `MetaSized` and `PointeeSized` to minicore so that fewer tests fail from missing language items.
Diffstat (limited to 'tests/auxiliary')
| -rw-r--r-- | tests/auxiliary/minicore.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/auxiliary/minicore.rs b/tests/auxiliary/minicore.rs index 941c4abed46..3a83b78529b 100644 --- a/tests/auxiliary/minicore.rs +++ b/tests/auxiliary/minicore.rs @@ -39,8 +39,14 @@ macro_rules! impl_marker_trait { } } +#[lang = "pointee_sized"] +pub trait PointeeSized {} + +#[lang = "meta_sized"] +pub trait MetaSized: PointeeSized {} + #[lang = "sized"] -pub trait Sized {} +pub trait Sized: MetaSized {} #[lang = "legacy_receiver"] pub trait LegacyReceiver {} |
