1 error[E0597]: `s` does not live long enough
2 --> $DIR/lifetime-update.rs:20:17
5 | ^^ borrowed value does not live long enough
7 LL | let m2: Machine<'static, State1> = Machine {
8 | ------------------------ type annotation requires that `s` is borrowed for `'static`
11 | - `s` dropped here while still borrowed
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0597`.