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 e4636f3 commit cadc35aCopy full SHA for cadc35a
tests/ui/builtin-type-shadow.stderr
@@ -16,8 +16,8 @@ LL | fn foo<u32>(a: u32) -> u32 {
16
LL | 42
17
| ^^ expected type parameter `u32`, found integer
18
|
19
- = note: expected type `u32`
20
- found type `{integer}`
+ = note: expected type parameter `u32`
+ found type `{integer}`
21
= help: type parameters must be constrained to match other types
22
= note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters
23
0 commit comments