match_head_needs_bracket
rustc_
lint
1.93.0-nightly
(f15a7f385 2025-11-04)
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