Skip to content

Commit f9a9c4b

Browse files
committed
Note that type param is chosen by caller when suggesting return impl Trait
1 parent 1e30c29 commit f9a9c4b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/ui/builtin_type_shadow.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ LL | 42
1919
|
2020
= note: expected type parameter `u32`
2121
found type `{integer}`
22+
= note: the caller chooses a type for `u32` which can be different from `i32`
2223

2324
error: aborting due to 2 previous errors
2425

0 commit comments

Comments
 (0)