parent
d9dc5ee072
commit
a07c032e96
@ -13,7 +13,7 @@ error[E0308]: mismatched types
|
||||
LL | fn foo<u32>(a: u32) -> u32 {
|
||||
| --- --- expected `u32` because of return type
|
||||
| |
|
||||
| this type parameter
|
||||
| expected this type parameter
|
||||
LL | 42
|
||||
| ^^ expected type parameter `u32`, found integer
|
||||
|
|
||||
|
Loading…
x
Reference in New Issue
Block a user