error: lifetime may not live long enough
  --> $DIR/regions-bounded-method-type-parameters.rs:12:9
   |
LL | fn caller<'a>(x: &isize) {
   |           -- lifetime `'a` defined here
LL |     Foo.some_method::<&'a isize>();
   |         ^^^^^^^^^^^ requires that `'a` must outlive `'static`
   |
   = help: consider replacing `'a` with `'static`

error: aborting due to previous error

