summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/promote_const_let.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/consts/promote_const_let.stderr')
-rw-r--r--src/test/ui/consts/promote_const_let.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/consts/promote_const_let.stderr b/src/test/ui/consts/promote_const_let.stderr
index c47d297c9..975a235a6 100644
--- a/src/test/ui/consts/promote_const_let.stderr
+++ b/src/test/ui/consts/promote_const_let.stderr
@@ -19,7 +19,7 @@ LL | let x: &'static u32 = &{
LL | | let y = 42;
LL | | y
LL | | };
- | |_____^ creates a temporary which is freed while still in use
+ | |_____^ creates a temporary value which is freed while still in use
LL | }
| - temporary value is freed at the end of this statement