Skip to content

Commit

Permalink
Tweak wording of type errors involving type params
Browse files Browse the repository at this point in the history
  • Loading branch information
estebank committed Oct 18, 2023
1 parent d9dc5ee commit a07c032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ui/builtin_type_shadow.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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
|
Expand Down

0 comments on commit a07c032

Please sign in to comment.