--> $DIR/issue-15034.rs:27:25
|
LL | pub fn new(lexer: &'a mut Lexer) -> Parser<'a> {
- | ----- consider changing the type of `lexer` to `&'a mut Lexer<'a>`
+ | ------------- help: consider changing the type of `lexer` to : `&'a mut Lexer<'a>`
LL | Parser { lexer: lexer }
| ^^^^^ lifetime `'a` required