mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-30 16:39:26 +00:00
Auto merge of #3609 - codeworm96:fix_test, r=phansch
Fix test for rust-lang/rust#57250 Part of rust-lang/rust#57250. ~~Do not merge. Waiting a nightly with that PR merged.~~
This commit is contained in:
commit
0fc5857d0b
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ error[E0308]: mismatched types
|
||||||
LL | fn foo<u32>(a: u32) -> u32 {
|
LL | fn foo<u32>(a: u32) -> u32 {
|
||||||
| --- expected `u32` because of return type
|
| --- expected `u32` because of return type
|
||||||
LL | 42
|
LL | 42
|
||||||
| ^^ expected type parameter, found integral variable
|
| ^^ expected type parameter, found integer
|
||||||
|
|
|
|
||||||
= note: expected type `u32`
|
= note: expected type `u32`
|
||||||
found type `{integer}`
|
found type `{integer}`
|
||||||
|
|
Loading…
Reference in a new issue