Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
flip1995 committed Nov 22, 2019
1 parent e4636f3 commit cadc35a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ui/builtin-type-shadow.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ LL | fn foo<u32>(a: u32) -> u32 {
LL | 42
| ^^ expected type parameter `u32`, found integer
|
= note: expected type `u32`
found type `{integer}`
= note: expected type parameter `u32`
found type `{integer}`
= help: type parameters must be constrained to match other types
= note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters

Expand Down

0 comments on commit cadc35a

Please sign in to comment.