Also walk bindings created by if-let guards This change makes the `unused_variables` lint pick up unused bindings created by if-let guards. Fixes #119383
Session
DiagCtxt
level
into_diagnostic
tcx.hir()
tcx