We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eae7b99 commit a902e3fCopy full SHA for a902e3f
tests/ui/builtin-type-shadow.stderr
@@ -10,9 +10,11 @@ error[E0308]: mismatched types
10
--> $DIR/builtin-type-shadow.rs:5:5
11
|
12
LL | fn foo<u32>(a: u32) -> u32 {
13
- | --- expected `u32` because of return type
+ | --- --- expected `u32` because of return type
14
+ | |
15
+ | this type parameter
16
LL | 42
- | ^^ expected type parameter, found integer
17
+ | ^^ expected type parameter `u32`, found integer
18
19
= note: expected type `u32`
20
found type `{integer}`
0 commit comments