rust/compiler/rustc_hir_analysis
Guillaume Gomez a32c500400
Rollup merge of #108230 - LittleFall:enhance/warning, r=estebank
Convert a hard-warning about named static lifetimes into lint "unused_lifetimes"

Fixes https://github.com/rust-lang/rust/issues/96956.

Some changes are ported from https://github.com/rust-lang/rust/pull/98079, thanks to jeremydavis519.

r? `@estebank` `@petrochenkov`

Any feedback is appreciated!

## Actions
- [x] resolve conflicts
- [x] fix build
- [x] address review comments in last pr
- [x] update tests
2023-02-22 10:35:08 +01:00
..
src Rollup merge of #108230 - LittleFall:enhance/warning, r=estebank 2023-02-22 10:35:08 +01:00
Cargo.toml Use ThinVec in various AST types. 2023-02-21 11:51:56 +11:00
README.md

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.