diff options
| author | asquared31415 <34665709+asquared31415@users.noreply.github.com> | 2023-09-28 20:51:48 +0000 |
|---|---|---|
| committer | asquared31415 <34665709+asquared31415@users.noreply.github.com> | 2023-09-28 23:10:04 +0000 |
| commit | b53a1b38089f30a34d932ad4030f3d529664c9df (patch) | |
| tree | bf5820ece7023241eca605f5d9df8f9594be7c64 /tests/ui/generic-const-items | |
| parent | 1393ef1fa0a213bf570075f250364a528965ed68 (diff) | |
| download | rust-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.stderr | 2 |
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 |
