1 error[E0478]: lifetime bound not satisfied
4 LL | child: Box<dyn Wedding<'kiss> + 'SnowWhite>,
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 note: lifetime parameter instantiated with the lifetime `'SnowWhite` as defined here
10 LL | struct Prince<'kiss, 'SnowWhite> {
12 note: but lifetime parameter must outlive the lifetime `'kiss` as defined here
13 --> $DIR/E0478.rs:3: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`.