1 error[E0521]: borrowed data escapes outside of function
2 --> $DIR/trait-objects.rs:15:5
4 LL | fn min_size(x: &mut dyn for<'a> StreamingIterator<Item<'a> = &'a i32>) -> usize {
5 | - - let's call the lifetime of this reference `'1`
7 | `x` is a reference that is only valid in the function body
12 | `x` escapes the function body here
13 | argument requires that `'1` must outlive `'static`
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0521`.