Fix lint message
This commit is contained in:
parent
6aa06b757d
commit
4166b7dcfe
2 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ error: '`impl Trait` used as a function parameter'
|
|||
LL | pub fn c<C: Trait>(_: C, _: impl Trait) {}
|
||||
| ^^^^^^^^^^
|
||||
|
|
||||
help: add a type paremeter, `{}`: `{}`
|
||||
help: add a type paremeter
|
||||
|
|
||||
LL | pub fn c<C: Trait, T: Trait>(_: C, _: impl Trait) {}
|
||||
| ++++++++++
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue