]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-wrong-bound.stderr
New upstream version 1.62.1+dfsg1
[rustc.git] / src / test / ui / nll / closure-requirements / propagate-approximated-shorter-to-static-wrong-bound.stderr
index 453f6801d7e6b1892dd3df059799d0c6cf7c5158..234212c88767af4b5bfe34112dc9737a7a825cfb 100644 (file)
@@ -52,8 +52,8 @@ LL | |     });
    | |______`cell_a` escapes the function body here
    |        argument requires that `'a` must outlive `'static`
    |
-   = note: requirement occurs because of the type Cell<&'_#11r u32>, which makes the generic argument &'_#11r u32 invariant
-   = note: the struct Cell<T> is invariant over the parameter T
+   = note: requirement occurs because of the type `Cell<&'_#11r u32>`, which makes the generic argument `&'_#11r u32` invariant
+   = note: the struct `Cell<T>` is invariant over the parameter `T`
    = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
 
 error: aborting due to previous error