Open
Description
All other things an expression can refer to, have DefId
s.
If we separate them, then we can use a proper HirId
for hir::ExprKind::Local
, and maybe even refactor the current hir::def::Res
enum away.
Somewhat related to #53553.