rust/compiler/rustc_middle
Jacob Pratt 10debec01a
Rollup merge of #138926 - nnethercote:less-kw-Empty-rustc_middle, r=lcnr
Remove `kw::Empty` uses from `rustc_middle`.

There are several places in `rustc_middle` that check for an empty lifetime name. These checks appear to be totally unnecessary, because empty lifetime names aren't produced here. (Empty lifetime names *are* possible in `hir::Lifetime`. Perhaps there was some confusion between it and the `rustc_middle` types?)

This commit removes the `kw::Empty` checks.

r? `@lcnr`
2025-03-27 13:11:18 -04:00
..
src Rollup merge of #138926 - nnethercote:less-kw-Empty-rustc_middle, r=lcnr 2025-03-27 13:11:18 -04:00
Cargo.toml Revert "Use workspace lints for crates in compiler/ #138084" 2025-03-10 18:12:47 +08:00
messages.ftl clean up layout error diagnostics 2025-02-18 13:22:45 +01:00
README.md

For more information about how rustc works, see the rustc dev guide.