|
| 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::Lang |
| 20 | +pub trait Lang<Self, Self_B> |
| 21 | +{ |
| 22 | + proof ImpliedClause0: (Self: MetaSized) |
| 23 | + proof ImpliedClause1: (Self_B: Sized) |
| 24 | + vtable: test_crate::Lang::{vtable}<Self_B> |
| 25 | +} |
| 26 | + |
| 27 | +// Full name: test_crate::Values |
| 28 | +pub trait Values<Self> |
| 29 | +{ |
| 30 | + proof ImpliedClause0: (Self: MetaSized) |
| 31 | + proof ImpliedClause1: (Self: Lang<Self::Self_Clause1_B>) |
| 32 | + proof ImpliedClause2: (Self::Self_Clause1_B: Typed<Self>) |
| 33 | + type Self_Clause1_B |
| 34 | + vtable: test_crate::Values::{vtable}<Self::Self_Clause1_B> |
| 35 | +} |
| 36 | + |
| 37 | +// Full name: test_crate::Typed |
| 38 | +pub trait Typed<Self, Self_V> |
| 39 | +{ |
| 40 | + proof ImpliedClause0: (Self: MetaSized) |
| 41 | + proof ImpliedClause1: (Self_V: Sized) |
| 42 | + proof ImpliedClause2: (Self_V: Values) |
| 43 | + vtable: test_crate::Typed::{vtable}<Self_V> |
| 44 | +} |
| 45 | + |
| 46 | +// Full name: test_crate::f |
| 47 | +pub fn f<'_0, T, Clause1_V>(_1: &'_0 TraitClause1::ImpliedClause2::Self_Clause1_B) |
| 48 | +where |
| 49 | + TraitClause0: (T: Sized), |
| 50 | + TraitClause1: (T: Typed<Clause1_V>), |
| 51 | + Outlives0: (TraitClause1::ImpliedClause2::Self_Clause1_B: '_0), |
| 52 | + Outlives1: (T: '_0), |
| 53 | + Outlives2: (Clause1_V: '_0), |
| 54 | +{ |
| 55 | + let _0: (); // return |
| 56 | + let _1: &'1 TraitClause1::ImpliedClause2::Self_Clause1_B; // arg #1 |
| 57 | + |
| 58 | + storage_live(_0) |
| 59 | + _0 = () |
| 60 | + _0 = () |
| 61 | + storage_dead(_1) |
| 62 | + return |
| 63 | +} |
| 64 | + |
| 65 | + |
| 66 | + |
0 commit comments