]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/error-codes/E0263.stderr
Bless tests.
[rust.git] / src / test / ui / error-codes / E0263.stderr
index 4dae02b85c36ca82f419080dc24e5e3e54a10a57..56e4ef023794f9accd534d8794831265a30bbc72 100644 (file)
@@ -2,9 +2,9 @@ error[E0263]: lifetime name `'a` declared twice in the same scope
   --> $DIR/E0263.rs:1:16
    |
 LL | fn foo<'a, 'b, 'a>(x: &'a str, y: &'b str) {
-   |        --      ^^ declared twice
+   |        --      ^^ lifetime `'a` already in scope
    |        |
-   |        previous declaration here
+   |        first declared here
 
 error: aborting due to previous error