]> git.proxmox.com Git - rustc.git/blobdiff - tests/ui/feature-gates/feature-gate-adt_const_params.stderr
New upstream version 1.74.1+dfsg1
[rustc.git] / tests / ui / feature-gates / feature-gate-adt_const_params.stderr
index d8f089a28b7e13b1896ebb6327cc4f82cf2b081c..13b9b84f0be4ef00961bfd6879b051a38a9ccccb 100644 (file)
@@ -5,7 +5,7 @@ LL | struct Foo<const NAME: &'static 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 previous error