Skip to content

Commit a07c032

Browse files
committed
Tweak wording of type errors involving type params
Fix rust-lang#78206.
1 parent d9dc5ee commit a07c032

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ui/builtin_type_shadow.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ error[E0308]: mismatched types
1313
LL | fn foo<u32>(a: u32) -> u32 {
1414
| --- --- expected `u32` because of return type
1515
| |
16-
| this type parameter
16+
| expected this type parameter
1717
LL | 42
1818
| ^^ expected type parameter `u32`, found integer
1919
|

0 commit comments

Comments
 (0)