shadowed trait in a generic argument causes incorrect name resolution. #10707
Labels
A-nameres
name, path and module resolution
C-bug
Category: bug
S-unactionable
Issue requires feedback, design decisions or is blocked on other work
Consider this code:
See:
This also impacts rename, which gets a tad confused:
Rustc however does resolve this properly and the program provided compiles fine.
The text was updated successfully, but these errors were encountered: