]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/methods/method-call-lifetime-args-fail.stderr
move an `assert!` to the right place
[rust.git] / src / test / ui / methods / method-call-lifetime-args-fail.stderr
index ea50815ec1af71711e8bc0b74f06588142d44da9..835edb4b0ae941a27b99956bfed15e1825f08ad3 100644 (file)
@@ -14,7 +14,7 @@ LL |     fn early<'a, 'b>(self) -> (&'a u8, &'b u8) { loop {} }
 help: add missing lifetime argument
    |
 LL |     S.early::<'static, 'b>();
-   |                      ^^^^
+   |                      ++++
 
 error[E0107]: this associated function takes 2 lifetime arguments but 3 lifetime arguments were supplied
   --> $DIR/method-call-lifetime-args-fail.rs:18:7
@@ -214,7 +214,7 @@ LL |     fn early<'a, 'b>(self) -> (&'a u8, &'b u8) { loop {} }
 help: add missing lifetime argument
    |
 LL |     S::early::<'static, 'b>(S);
-   |                       ^^^^
+   |                       ++++
 
 error[E0107]: this associated function takes 2 lifetime arguments but 3 lifetime arguments were supplied
   --> $DIR/method-call-lifetime-args-fail.rs:65:8