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 (10,406 stars) (1,391 forks)batch import
A-lintgood first issue

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