]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/nll/outlives-suggestion-simple.stderr
Normalise diagnostics with respect to "the X is declared/defined here"
[rust.git] / src / test / ui / nll / outlives-suggestion-simple.stderr
index f7603e29d488c701fd9f05f33fcc0e79c81091b2..db7f57ceccf134342a5ed88b5379afbb22a7f531 100644 (file)
@@ -99,7 +99,7 @@ error[E0521]: borrowed data escapes outside of function
 LL |     fn get_bar(&self) -> Bar2 {
    |                -----
    |                |
-   |                `self` is declared here, outside of the function body
+   |                `self` declared here, outside of the function body
    |                `self` is a reference that is only valid in the function body
 LL |         Bar2::new(&self)
    |         ^^^^^^^^^^^^^^^^ `self` escapes the function body here