We should forbid type parameters from shadowing other types #707
Labels
breaking-change
The RFC proposes a breaking change.
T-lang
Relevant to the language team, which will review and decide on the RFC.
Issue by erickt
Saturday Jan 17, 2015 at 16:01 GMT
For earlier discussion, see rust-lang/rust#21301
This issue was labelled with: A-associated-items in the Rust repository
This is a weird case that we should probably not allow:
The rule appears to be that the
<T: Trait>
has precedence over the module, it would be easiest if we just errored out in this circumstance.The text was updated successfully, but these errors were encountered: