rust-lang/rust-clippy

Shadowing of types via Generic Parameter

Open

#380 geöffnet am 12. Okt. 2015

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Rust (1.391 Forks)batch import
A-lintgood first issue

Repository-Metriken

Stars
 (10.406 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 19T 22h) (113 gemergte PRs in 30 T)

Beschreibung

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