rust-lang/rust-clippy

Shadowing of types via Generic Parameter

Open

#380 aperta il 12 ott 2015

Vedi su GitHub
 (2 commenti) (0 reazioni) (1 assegnatario)Rust (1391 fork)batch import
A-lintgood first issue

Metriche repository

Star
 (10.406 star)
Metriche merge PR
 (Merge medio 19g 22h) (113 PR mergiate in 30 g)

Descrizione

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

Guida contributor