rust-lang/rust-clippy

Shadowing of types via Generic Parameter

Open

#380 aberto em 12 de out. de 2015

Ver no GitHub
 (2 comments) (0 reactions) (1 assignee)Rust (1.391 forks)batch import
A-lintgood first issue

Métricas do repositório

Stars
 (10.406 stars)
Métricas de merge de PR
 (Mesclagem média 19d 22h) (113 fundiu PRs em 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

Guia do colaborador