1 error[E0597]: `person` does not live long enough
2 --> $DIR/coercion-generic-regions.rs:17:24
4 LL | let person: &str = &person;
7 | borrowed value does not live long enough
8 | assignment requires that `person` is borrowed for `'static`
9 LL | let s: Box<dyn Trait<&'static str>> = Box::new(Struct { person: person });
11 | - `person` dropped here while still borrowed
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0597`.