rust-lang/rust-clippy

Shadowing of types via Generic Parameter

Open

#380 建立於 2015年10月12日

在 GitHub 查看
 (2 留言) (0 反應) (1 負責人)Rust (1,391 fork)batch import
A-lintgood first issue

倉庫指標

Star
 (10,406 star)
PR 合併指標
 (平均合併 19天 22小時) (30 天內合併 113 個 PR)

描述

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

貢獻者指南