]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issue-15034.nll.stderr
Closes #52413: Provide structured suggestion instead of label
[rust.git] / src / test / ui / issue-15034.nll.stderr
index 19fe83f8f6c86886ac2397f74bae4eccaaf499b2..1f0fe68e2a315116cd341e7b1e419b50afd6b76a 100644 (file)
@@ -8,7 +8,7 @@ error[E0621]: explicit lifetime required in the type of `lexer`
   --> $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