]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/static/static-region-bound.stderr
Rollup merge of #104184 - jyn514:rustdoc-version, r=davidtwco
[rust.git] / src / test / ui / static / static-region-bound.stderr
index 15261259ed412acaeab624d9e572ea60890f698e..1a607e3c014a3134006f59b3e899adfd4733f974 100644 (file)
@@ -2,7 +2,7 @@ error[E0716]: temporary value dropped while borrowed
   --> $DIR/static-region-bound.rs:10:14
    |
 LL |     let x = &id(3);
-   |              ^^^^^ creates a temporary which is freed while still in use
+   |              ^^^^^ creates a temporary value which is freed while still in use
 LL |     f(x);
    |     ---- argument requires that borrow lasts for `'static`
 LL | }