Skip to content

Commit 2201348

Browse files
authored
Rollup merge of #116908 - estebank:issue-78206, r=compiler-errors
Tweak wording of type errors involving type params Fix #78206.
2 parents 6199f94 + 48dad1d commit 2201348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ui/builtin_type_shadow.stderr

Lines changed: 1 addition & 1 deletion
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)