Skip to content

Commit a902e3f

Browse files
committed
1 parent eae7b99 commit a902e3f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/ui/builtin-type-shadow.stderr

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ error[E0308]: mismatched types
1010
--> $DIR/builtin-type-shadow.rs:5:5
1111
|
1212
LL | fn foo<u32>(a: u32) -> u32 {
13-
| --- expected `u32` because of return type
13+
| --- --- expected `u32` because of return type
14+
| |
15+
| this type parameter
1416
LL | 42
15-
| ^^ expected type parameter, found integer
17+
| ^^ expected type parameter `u32`, found integer
1618
|
1719
= note: expected type `u32`
1820
found type `{integer}`

0 commit comments

Comments
 (0)