rust-lang/rust-clippy

Shadowing of types via Generic Parameter

Open

#380 创建于 2015年10月12日

在 GitHub 查看
 (2 评论) (0 反应) (1 负责人)Rust (10,406 star) (1,391 fork)batch import
A-lintgood first issue

描述

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

贡献者指南