rust-lang/rust-clippy

Shadowing of types via Generic Parameter

Open

#380 ouverte le 12 oct. 2015

Voir sur GitHub
 (2 commentaires) (0 réactions) (1 assigné)Rust (1 391 forks)batch import
A-lintgood first issue

Métriques du dépôt

Stars
 (10 406 stars)
Métriques de merge PR
 (Merge moyen 19j 22h) (113 PRs mergées en 30 j)

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

Guide contributeur