mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-26 14:40:32 +00:00
Note that type param is chosen by caller when suggesting return impl Trait
This commit is contained in:
parent
1e30c2915b
commit
f9a9c4bf3b
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ LL | 42
|
|||
|
|
||||
= note: expected type parameter `u32`
|
||||
found type `{integer}`
|
||||
= note: the caller chooses a type for `u32` which can be different from `i32`
|
||||
|
||||
error: aborting due to 2 previous errors
|
||||
|
||||
|
|
Loading…
Reference in a new issue