1 error[E0521]: borrowed data escapes outside of function
2 --> $DIR/dyn-trait.rs:20:5
4 LL | fn with_dyn_debug_static<'a>(x: Box<dyn Debug + 'a>) {
5 | -- - `x` is a reference that is only valid in the function body
7 | lifetime `'a` defined here
11 | `x` escapes the function body here
12 | argument requires that `'a` must outlive `'static`
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0521`.