summaryrefslogtreecommitdiffstats
path: root/src/test/ui/nll/borrowed-temporary-error.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/nll/borrowed-temporary-error.stderr')
-rw-r--r--src/test/ui/nll/borrowed-temporary-error.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/nll/borrowed-temporary-error.stderr b/src/test/ui/nll/borrowed-temporary-error.stderr
index 2c6bd9264..89781d96f 100644
--- a/src/test/ui/nll/borrowed-temporary-error.stderr
+++ b/src/test/ui/nll/borrowed-temporary-error.stderr
@@ -2,7 +2,7 @@ error[E0716]: temporary value dropped while borrowed
--> $DIR/borrowed-temporary-error.rs:8:10
|
LL | &(v,)
- | ^^^^ creates a temporary which is freed while still in use
+ | ^^^^ creates a temporary value which is freed while still in use
LL |
LL | });
| - temporary value is freed at the end of this statement