about summary refs log tree commit diff
path: root/tests/ui/generic-const-items
diff options
context:
space:
mode:
authorasquared31415 <34665709+asquared31415@users.noreply.github.com>2023-09-28 20:51:48 +0000
committerasquared31415 <34665709+asquared31415@users.noreply.github.com>2023-09-28 23:10:04 +0000
commitb53a1b38089f30a34d932ad4030f3d529664c9df (patch)
treebf5820ece7023241eca605f5d9df8f9594be7c64 /tests/ui/generic-const-items
parent1393ef1fa0a213bf570075f250364a528965ed68 (diff)
downloadrust-b53a1b38089f30a34d932ad4030f3d529664c9df.tar.gz
rust-b53a1b38089f30a34d932ad4030f3d529664c9df.zip
make adt_const_params feature suggestion more consistent with others and only suggest it when the type can probably work
Diffstat (limited to 'tests/ui/generic-const-items')
-rw-r--r--tests/ui/generic-const-items/elided-lifetimes.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/generic-const-items/elided-lifetimes.stderr b/tests/ui/generic-const-items/elided-lifetimes.stderr
index 8cd3f9ee7a9..e7df8ca5cfd 100644
--- a/tests/ui/generic-const-items/elided-lifetimes.stderr
+++ b/tests/ui/generic-const-items/elided-lifetimes.stderr
@@ -28,7 +28,7 @@ LL | const I<const S: &str>: &str = "";
    |                  ^^^^
    |
    = note: the only supported types are integers, `bool` and `char`
-   = help: more complex types are supported with `#![feature(adt_const_params)]`
+   = help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types
 
 error: aborting due to 4 previous errors