Skip to content

Commit d7b3e23

Browse files
committed
rustup #64666
1 parent d07d001 commit d7b3e23

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/ui/builtin-type-shadow.stderr

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ LL | 42
1616
|
1717
= note: expected type `u32`
1818
found type `{integer}`
19+
= help: type parameters must be constrained to match other types
20+
= note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters
1921

2022
error: aborting due to 2 previous errors
2123

0 commit comments

Comments
 (0)