2 comments (2 comments)0 reactions (0 reactions)1 assignee (1 assignee)Rust1,391 forks (1,391 forks)batch import
A-lintgood first issue
Repository metrics
- Stars
- 10,406 stars (10,406 stars)
- PR merge metrics
- Avg merge 19d 22h (Avg merge 19d 22h)113 merged PRs in 30d (113 merged PRs in 30d)
Description
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
Contributor guide
- Research direction
- Inspect the provided test case example and trace how the lint should detect shadowing of struct names by generic type parameters. Consider the compiler's name resolution and how to emit a lint when a generic parameter has the same name as a previously defined type.
- Tech stack
- rust
- Domain
- developer experiencetooling
- Issue type
- Feature
- Prerequisites
- RustGit