|
| 1 | +# Final LLBC before serialization: |
| 2 | + |
| 3 | +// Full name: core::marker::MetaSized |
| 4 | +#[fundamental] |
| 5 | +#[lang_item(MetaSized)] |
| 6 | +pub trait MetaSized<Self> |
| 7 | + |
| 8 | +// Full name: core::marker::Sized |
| 9 | +#[fundamental] |
| 10 | +#[lang_item(Sized)] |
| 11 | +pub trait Sized<Self> |
| 12 | +{ |
| 13 | + proof ImpliedClause0: (Self: MetaSized) |
| 14 | + non-dyn-compatible |
| 15 | +} |
| 16 | + |
| 17 | +struct () {} |
| 18 | + |
| 19 | +// Full name: test_crate::Concrete |
| 20 | +pub struct Concrete {} |
| 21 | + |
| 22 | +// Full name: test_crate::Wrapper |
| 23 | +pub struct Wrapper<T> |
| 24 | +where |
| 25 | + TraitClause0: (T: Sized), |
| 26 | +{ |
| 27 | + _0: T, |
| 28 | +} |
| 29 | + |
| 30 | +// Full name: test_crate::Parent |
| 31 | +pub trait Parent<Self, T> |
| 32 | +{ |
| 33 | + proof ImpliedClause0: (Self: MetaSized) |
| 34 | + proof ImpliedClause1: (T: MetaSized) |
| 35 | + vtable: test_crate::Parent::{vtable}<T> |
| 36 | +} |
| 37 | + |
| 38 | +// Full name: test_crate::Child |
| 39 | +pub trait Child<Self> |
| 40 | +{ |
| 41 | + proof ImpliedClause0: (Self: MetaSized) |
| 42 | + proof ImpliedClause1: (Self: Parent<Concrete>) |
| 43 | + proof ImpliedClause2: (Self: Parent<Wrapper<u8>[{built_in impl Sized for u8}]>) |
| 44 | + vtable: test_crate::Child::{vtable} |
| 45 | +} |
| 46 | + |
| 47 | +// Full name: test_crate::{impl Parent<Concrete> for ()} |
| 48 | +impl "impl_Parent_Concrete_for_unit" Parent<Concrete> for () { |
| 49 | + proof ImpliedClause0: ((): MetaSized) = {built_in impl MetaSized for ()} |
| 50 | + proof ImpliedClause1: (Concrete: MetaSized) = {built_in impl MetaSized for Concrete} |
| 51 | + vtable: lazy |
| 52 | +} |
| 53 | + |
| 54 | +// Full name: test_crate::{impl Parent<Wrapper<u8>[{built_in impl Sized for u8}]> for ()} |
| 55 | +impl "impl_Parent_Wrapper_for_unit" Parent<Wrapper<u8>[{built_in impl Sized for u8}]> for () { |
| 56 | + proof ImpliedClause0: ((): MetaSized) = {built_in impl MetaSized for ()} |
| 57 | + proof ImpliedClause1: (Wrapper<u8>[{built_in impl Sized for u8}]: MetaSized) = {built_in impl MetaSized for Wrapper<u8>[{built_in impl Sized for u8}]} |
| 58 | + vtable: lazy |
| 59 | +} |
| 60 | + |
| 61 | +// Full name: test_crate::{impl Child for ()} |
| 62 | +impl "impl_Child_for_unit" Child for () { |
| 63 | + proof ImpliedClause0: ((): MetaSized) = {built_in impl MetaSized for ()} |
| 64 | + proof ImpliedClause1: ((): Parent<Concrete>) = impl_Parent_Concrete_for_unit |
| 65 | + proof ImpliedClause2: ((): Parent<Wrapper<u8>[{built_in impl Sized for u8}]>) = impl_Parent_Wrapper_for_unit |
| 66 | + vtable: lazy |
| 67 | +} |
| 68 | + |
| 69 | + |
| 70 | + |
0 commit comments