error[E0477]: the type `&'a isize` does not fulfill the required lifetime --> $DIR/regions-bounded-method-type-parameters.rs:16:9 | LL | Foo.some_method::<&'a isize>(); | ^^^^^^^^^^^ | note: type must satisfy the static lifetime as required by this binding --> $DIR/regions-bounded-method-type-parameters.rs:12:22 | LL | fn some_method(self) { } | ^^^^^^^ error: aborting due to previous error For more information about this error, try `rustc --explain E0477`.