1 error[E0495]: cannot infer an appropriate lifetime for autoref due to conflicting requirements
2 --> $DIR/issue-16683.rs:14:14
4 LL | self.a(); //~ ERROR cannot infer
7 note: first, the lifetime cannot outlive the anonymous lifetime #1 defined on the method body at 13:5...
8 --> $DIR/issue-16683.rs:13:5
11 LL | | self.a(); //~ ERROR cannot infer
14 note: ...so that reference does not outlive borrowed content
15 --> $DIR/issue-16683.rs:14:9
17 LL | self.a(); //~ ERROR cannot infer
19 note: but, the lifetime must be valid for the lifetime 'a as defined on the trait at 11:9...
20 --> $DIR/issue-16683.rs:11:9
24 = note: ...so that the types are compatible:
28 error: aborting due to previous error
30 For more information about this error, try `rustc --explain E0495`.