rust-lang/rust-clippy

Shadowing of types via Generic Parameter

Open

#380 opened on 2015年10月12日

GitHub で見る
 (2 comments) (0 reactions) (1 assignee)Rust (10,406 stars) (1,391 forks)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

コントリビューターガイド