match_head_needs_bracket
rustc_
lint
1.92.0-nightly
(844264add 2025-10-14)
In rustc_
lint::
if_
let_
rescope
rustc_lint
::
if_let_rescope
Function
match_
head_
needs_
bracket
Copy item path
Source
fn match_head_needs_bracket(tcx:
TyCtxt
<'_>, expr: &
Expr
<'_>) ->
bool