Lint dead code in closures and generators Fixes #108296 I think this might be a potentially breaking change, but restores the behaviour of pre-1.64. `@rustbot` label +A-lint
if $c:expr { Some($r:expr) } else { None }
$c.then(|| $r)
HirIdValidator
HirId -> LocalDefId
of_trait
break
Visitor::visit_path