]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/impl-unused-rps-in-assoc-type.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / impl-unused-rps-in-assoc-type.stderr
index ec261ed63b1e826f6421edd6c1341d30408d2793..1f7f790b1e4ad9b99c95fe2fba926e2a303f2968 100644 (file)
@@ -1,8 +1,9 @@
 error[E0207]: the lifetime parameter `'a` is not constrained by the impl trait, self type, or predicates
   --> $DIR/impl-unused-rps-in-assoc-type.rs:21:6
    |
-21 | impl<'a> Fun for Holder { //~ ERROR E0207
+LL | impl<'a> Fun for Holder { //~ ERROR E0207
    |      ^^ unconstrained lifetime parameter
 
 error: aborting due to previous error
 
+For more information about this error, try `rustc --explain E0207`.