]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-17904-2.stderr
Do not suggest using a const parameter when there are bounds on an unused type parameter
[rust.git] / src / test / ui / issues / issue-17904-2.stderr
index 259e029113d5097cf0a14e0ad6ab74de17c66c50..62b7b79538c612c9ff3a8767acf1bcc8172bf652 100644 (file)
@@ -5,7 +5,6 @@ LL | struct Foo<T> where T: Copy;
    |            ^ unused parameter
    |
    = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
-   = help: if you intended `T` to be a const parameter, use `const T: usize` instead
 
 error: aborting due to previous error