]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/rfc-2093-infer-outlives/regions-struct-not-wf.stderr
New upstream version 1.43.0+dfsg1
[rustc.git] / src / test / ui / rfc-2093-infer-outlives / regions-struct-not-wf.stderr
index 825c1015c51d7e37c5543e797d8ae51b7c059f66..f6658891fa622182e4080ff376fd856224adfe9f 100644 (file)
@@ -2,7 +2,7 @@ error[E0309]: the parameter type `T` may not live long enough
   --> $DIR/regions-struct-not-wf.rs:13:5
    |
 LL | impl<'a, T> Trait<'a, T> for usize {
-   |          - help: consider adding an explicit lifetime bound `T: 'a`...
+   |          - help: consider adding an explicit lifetime bound...: `T: 'a`
 LL |     type Out = &'a T;
    |     ^^^^^^^^^^^^^^^^^
    |
@@ -16,7 +16,7 @@ error[E0309]: the parameter type `T` may not live long enough
   --> $DIR/regions-struct-not-wf.rs:21:5
    |
 LL | impl<'a, T> Trait<'a, T> for u32 {
-   |          - help: consider adding an explicit lifetime bound `T: 'a`...
+   |          - help: consider adding an explicit lifetime bound...: `T: 'a`
 LL |     type Out = RefOk<'a, T>;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^
    |