]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/const-generics/issues/issue-63322-forbid-dyn.min.stderr
New upstream version 1.50.0+dfsg1
[rustc.git] / src / test / ui / const-generics / issues / issue-63322-forbid-dyn.min.stderr
index e6d9fb7a246836c763aa8ae4d87b77406cd86578..5dbfdc6d652b6708f817ddc15f9890c4d498f0f1 100644 (file)
@@ -5,7 +5,7 @@ LL | fn test<const T: &'static dyn A>() {
    |                  ^^^^^^^^^^^^^^
    |
    = note: the only supported types are integers, `bool` and `char`
-   = note: more complex types are supported with `#[feature(const_generics)]`
+   = help: more complex types are supported with `#[feature(const_generics)]`
 
 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:10:18