summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/issue-78655.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/consts/issue-78655.stderr')
-rw-r--r--src/test/ui/consts/issue-78655.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/ui/consts/issue-78655.stderr b/src/test/ui/consts/issue-78655.stderr
index f5b1123e7..6b83fa0e5 100644
--- a/src/test/ui/consts/issue-78655.stderr
+++ b/src/test/ui/consts/issue-78655.stderr
@@ -5,6 +5,11 @@ LL | let x;
| - binding declared here but left uninitialized
LL | &x
| ^^ `x` used here but it isn't initialized
+ |
+help: consider assigning a value
+ |
+LL | let x = 0;
+ | +++
error: could not evaluate constant pattern
--> $DIR/issue-78655.rs:7:9