1 error[E0312]: lifetime of reference outlives lifetime of borrowed content...
2 --> $DIR/issue-52742.rs:12:18
7 note: ...the reference is valid for the lifetime `'_` as defined here...
8 --> $DIR/issue-52742.rs:10:10
10 LL | impl Foo<'_, '_> {
12 note: ...but the borrowed content is only valid for the anonymous lifetime defined here
13 --> $DIR/issue-52742.rs:11:31
15 LL | fn take_bar(&mut self, b: Bar<'_>) {
18 error: aborting due to previous error
20 For more information about this error, try `rustc --explain E0312`.