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

貢獻者指南