mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 07:00:55 +00:00
Rustup to rust-lang/rust#66389
This commit is contained in:
parent
e4636f3c39
commit
cadc35af5a
1 changed files with 2 additions and 2 deletions
|
@ -16,8 +16,8 @@ LL | fn foo<u32>(a: u32) -> u32 {
|
||||||
LL | 42
|
LL | 42
|
||||||
| ^^ expected type parameter `u32`, found integer
|
| ^^ expected type parameter `u32`, found integer
|
||||||
|
|
|
|
||||||
= note: expected type `u32`
|
= note: expected type parameter `u32`
|
||||||
found type `{integer}`
|
found type `{integer}`
|
||||||
= help: type parameters must be constrained to match other types
|
= help: type parameters must be constrained to match other types
|
||||||
= note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters
|
= note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue