mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-25 11:57:25 +00:00
Don't suggest dyn as parameter to add
This commit is contained in:
parent
5f8686ec3b
commit
2253646395
1 changed files with 6 additions and 3 deletions
|
@ -17,9 +17,12 @@ error[E0412]: cannot find type `VAL` in this scope
|
||||||
--> $DIR/ice-6252.rs:10:63
|
--> $DIR/ice-6252.rs:10:63
|
||||||
|
|
|
|
||||||
LL | impl<N, M> TypeVal<usize> for Multiply<N, M> where N: TypeVal<VAL> {}
|
LL | impl<N, M> TypeVal<usize> for Multiply<N, M> where N: TypeVal<VAL> {}
|
||||||
| - ^^^ not found in this scope
|
| ^^^ not found in this scope
|
||||||
| |
|
|
|
||||||
| help: you might be missing a type parameter: `, VAL`
|
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`
|
error[E0046]: not all trait items implemented, missing: `VAL`
|
||||||
--> $DIR/ice-6252.rs:10:1
|
--> $DIR/ice-6252.rs:10:1
|
||||||
|
|
Loading…
Add table
Reference in a new issue