1 error[E0495]: cannot infer an appropriate lifetime for autoref due to conflicting requirements
2 --> $DIR/issue-16683.rs:4:14
7 note: first, the lifetime cannot outlive the anonymous lifetime #1 defined on the method body at 3:5...
8 --> $DIR/issue-16683.rs:3:5
14 note: ...so that reference does not outlive borrowed content
15 --> $DIR/issue-16683.rs:4:9
19 note: but, the lifetime must be valid for the lifetime `'a` as defined on the trait at 1:9...
20 --> $DIR/issue-16683.rs:1:9
24 note: ...so that the types are compatible
25 --> $DIR/issue-16683.rs:4:14
29 = note: expected `&'a Self`
32 error: aborting due to previous error
34 For more information about this error, try `rustc --explain E0495`.