1 error[E0276]: impl has stricter requirements than trait
2 --> $DIR/issue-18937.rs:20:31
4 LL | / fn foo<F>(&mut self, f: F)
5 LL | | where F: fmt::Debug + 'a,
7 | |__________________________- definition of `foo` from trait
9 LL | where F: fmt::Debug + 'static,
10 | ^^^^^^^ impl has extra requirement `F: 'static`
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0276`.