about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-03-25 20:17:29 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2025-03-26 12:03:23 +1100
commitca9988ec49debec4cd567d0aa719e2ee108c038b (patch)
tree6012b06a1707d60417e7d41345696ee72a7510a4 /compiler/rustc_mir_transform/src
parent43f0014ef0f242418674f49052ed39b70f73bc1c (diff)
downloadrust-ca9988ec49debec4cd567d0aa719e2ee108c038b.tar.gz
rust-ca9988ec49debec4cd567d0aa719e2ee108c038b.zip
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.
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions