1 error: unsatisfied lifetime constraints
2 --> $DIR/issue-10291.rs:12:65
4 LL | fn test<'x>(x: &'x isize) {
5 | -- lifetime `'x` defined here
6 LL | drop::<Box<for<'z> FnMut(&'z isize) -> &'z isize>>(Box::new(|z| {
7 | _________________________________________________________________^
8 LL | | x //~ ERROR E0312
10 | |_____^ closure body requires that `'x` must outlive `'static`
12 error: aborting due to previous error