We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
{Meta,Pointee}Sized
1 parent 3b0e1c1 commit c6d88a1Copy full SHA for c6d88a1
tests/auxiliary/minicore.rs
@@ -39,8 +39,14 @@ macro_rules! impl_marker_trait {
39
}
40
41
42
+#[lang = "pointee_sized"]
43
+pub trait PointeeSized {}
44
+
45
+#[lang = "meta_sized"]
46
+pub trait MetaSized: PointeeSized {}
47
48
#[lang = "sized"]
-pub trait Sized {}
49
+pub trait Sized: MetaSized {}
50
51
#[lang = "legacy_receiver"]
52
pub trait LegacyReceiver {}
tests/ui/traits/const-traits/auxiliary/minicore.rs
@@ -18,8 +18,15 @@
18
#![no_std]
19
#![no_core]
20
21
22
23
24
25
26
27
28
29
30
#[lang = "copy"]
31
pub trait Copy {}
32
0 commit comments