1 error[E0478]: lifetime bound not satisfied
4 LL | child: Box<Wedding<'kiss> + 'SnowWhite>, //~ ERROR E0478
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 note: lifetime parameter instantiated with the lifetime 'SnowWhite as defined on the struct at 13:22
8 --> $DIR/E0478.rs:13:22
10 LL | struct Prince<'kiss, 'SnowWhite> {
12 note: but lifetime parameter must outlive the lifetime 'kiss as defined on the struct at 13:15
13 --> $DIR/E0478.rs:13:15
15 LL | struct Prince<'kiss, 'SnowWhite> {
18 error: aborting due to previous error
20 For more information about this error, try `rustc --explain E0478`.