Skip to content

Shadowing of types via Generic Parameter #380

Open
@Havvy

Description

@Havvy
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

Metadata

Metadata

Assignees

Labels

A-lintArea: New lintsgood first issueThese issues are a good way to get started with Clippy

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions