about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-01-08 23:27:22 +0000
committerMichael Goulet <michael@errs.io>2023-01-12 22:04:30 +0000
commit2253646395c70c525368c29399fb4bb91fb95438 (patch)
tree1c44d96406d202d6dfe392f6fe03e2af71be070e
parent5f8686ec3b598ca33b64c6e1cd31f72214b49e96 (diff)
downloadrust-2253646395c70c525368c29399fb4bb91fb95438.tar.gz
rust-2253646395c70c525368c29399fb4bb91fb95438.zip
Don't suggest dyn as parameter to add
-rw-r--r--tests/ui/crashes/ice-6252.stderr9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/ui/crashes/ice-6252.stderr b/tests/ui/crashes/ice-6252.stderr
index 638e4a54849..efdd56dd47d 100644
--- a/tests/ui/crashes/ice-6252.stderr
+++ b/tests/ui/crashes/ice-6252.stderr
@@ -17,9 +17,12 @@ error[E0412]: cannot find type `VAL` in this scope
   --> $DIR/ice-6252.rs:10:63
    |
 LL | impl<N, M> TypeVal<usize> for Multiply<N, M> where N: TypeVal<VAL> {}
-   |          -                                                    ^^^ not found in this scope
-   |          |
-   |          help: you might be missing a type parameter: `, VAL`
+   |                                                               ^^^ not found in this scope
+   |
+help: you might be missing a type parameter
+   |
+LL | impl<N, M, VAL> TypeVal<usize> for Multiply<N, M> where N: TypeVal<VAL> {}
+   |          +++++
 
 error[E0046]: not all trait items implemented, missing: `VAL`
   --> $DIR/ice-6252.rs:10:1