summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/issue-28113.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/consts/issue-28113.stderr (renamed from src/test/ui/consts/issue-28113.stderr)1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/ui/consts/issue-28113.stderr b/tests/ui/consts/issue-28113.stderr
index 7ad1f752e..1294cc99b 100644
--- a/src/test/ui/consts/issue-28113.stderr
+++ b/tests/ui/consts/issue-28113.stderr
@@ -6,6 +6,7 @@ LL | || -> u8 { 5 }()
|
= 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
error: aborting due to previous error