]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/const-generics/issues/issue-63322-forbid-dyn.min.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / const-generics / issues / issue-63322-forbid-dyn.min.stderr
index 2fb38addb2d812f6324d79b067da3f0c0433ded4..b1141cf3bdfbf03486ef60ade77968382d9a0c27 100644 (file)
@@ -5,7 +5,7 @@ LL | fn test<const T: &'static dyn A>() {
    |                  ^^^^^^^^^^^^^^
    |
    = note: the only supported types are integers, `bool` and `char`
-   = help: more complex types are supported with `#![feature(const_generics)]`
+   = help: more complex types are supported with `#![feature(adt_const_params)]`
 
 error[E0741]: `&'static (dyn A + 'static)` must be annotated with `#[derive(PartialEq, Eq)]` to be used as the type of a const parameter
   --> $DIR/issue-63322-forbid-dyn.rs:9:18