]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/generic-associated-types/trait-objects.extended.stderr
Rollup merge of #102954 - GuillaumeGomez:cfg-hide-attr-checks, r=Manishearth
[rust.git] / src / test / ui / generic-associated-types / trait-objects.extended.stderr
index 086177cc106dc224dfcdcd99dc42db122f22b250..45b64d2b0248376fcbf0d65067ab7410be818f3e 100644 (file)
@@ -11,6 +11,8 @@ LL |     x.size_hint().0
    |     |
    |     `x` escapes the function body here
    |     argument requires that `'1` must outlive `'static`
+   |
+   = note: due to current limitations in the borrow checker, this implies a `'static` lifetime
 
 error: aborting due to previous error