This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 0e5766b
committed
Auto merge of rust-lang#16477 - davidsemakula:trait-incorrect-case-diagnostic, r=Veykril
feat: Add incorrect case diagnostics for traits and their associated items
Updates incorrect case diagnostic to:
- Check traits and their associated items
- Ignore trait implementations except for patterns in associated function bodies
Also cleans up `hir-ty::diagnostics::decl_check` a bit (mostly to make it a bit more DRY and easier to maintain)
Also fixes: rust-lang#8675 and fixes: rust-lang#8225File tree
5 files changed
+407
-417
lines changed- crates
- hir-ty/src/diagnostics
- hir/src
- ide-diagnostics/src
- handlers
5 files changed
+407
-417
lines changed
0 commit comments