about summary refs log tree commit diff
path: root/tests/ui/consts/issue-68542-closure-in-array-len.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/consts/issue-68542-closure-in-array-len.stderr')
-rw-r--r--tests/ui/consts/issue-68542-closure-in-array-len.stderr5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/ui/consts/issue-68542-closure-in-array-len.stderr b/tests/ui/consts/issue-68542-closure-in-array-len.stderr
index 3c0408cbedf..b414a6e0dba 100644
--- a/tests/ui/consts/issue-68542-closure-in-array-len.stderr
+++ b/tests/ui/consts/issue-68542-closure-in-array-len.stderr
@@ -6,7 +6,10 @@ LL |     a: [(); (|| { 0 })()]
    |
    = note: closures need an RFC before allowed to be called in constants
    = note: calls in constants are limited to constant functions, tuple structs and tuple variants
-   = help: add `#![feature(const_trait_impl)]` to the crate attributes to enable
+help: add `#![feature(const_trait_impl)]` to the crate attributes to enable
+   |
+LL + #![feature(const_trait_impl)]
+   |
 
 error: aborting due to 1 previous error