1 error[E0312]: lifetime of reference outlives lifetime of borrowed content...
2 --> $DIR/regions-early-bound-error-method.rs:20:9
7 note: ...the reference is valid for the lifetime `'a` as defined here...
8 --> $DIR/regions-early-bound-error-method.rs:18:6
10 LL | impl<'a> Box<'a> {
12 note: ...but the borrowed content is only valid for the lifetime `'b` as defined here
13 --> $DIR/regions-early-bound-error-method.rs:19:11
15 LL | fn or<'b,G:GetRef<'b>>(&self, g2: G) -> &'a isize {
18 error: aborting due to previous error
20 For more information about this error, try `rustc --explain E0312`.