rust-lang/rust-clippy

Shadowing of types via Generic Parameter

Open

#380 opened on Oct 12, 2015

View on GitHub
 (2 comments) (0 reactions) (1 assignee)Rust (1,391 forks)batch import
A-lintgood first issue

Repository metrics

Stars
 (10,406 stars)
PR merge metrics
 (Avg merge 19d 22h) (113 merged PRs in 30d)

Description

struct Foo {}

struct<Foo> Bar { f: Foo }

Should warn that Foo in Bar shadows the struct Foo declared previously.

Summary Notes

Generated by triagebot, see help for how to add more

Contributor guide