summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/const-argument-if-length.min.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/const-generics/const-argument-if-length.min.stderr')
-rw-r--r--tests/ui/const-generics/const-argument-if-length.min.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/const-generics/const-argument-if-length.min.stderr b/tests/ui/const-generics/const-argument-if-length.min.stderr
index 3ba9ffebd..b9d9bcc92 100644
--- a/tests/ui/const-generics/const-argument-if-length.min.stderr
+++ b/tests/ui/const-generics/const-argument-if-length.min.stderr
@@ -5,7 +5,7 @@ LL | pad: [u8; is_zst::<T>()],
| ^ cannot perform const operation using `T`
|
= note: type parameters may not be used in const expressions
- = help: use `#![feature(generic_const_exprs)]` to allow generic const expressions
+ = help: add `#![feature(generic_const_exprs)]` to allow generic const expressions
error[E0277]: the size for values of type `T` cannot be known at compilation time
--> $DIR/const-argument-if-length.rs:15:12