match_head_needs_bracket
rustc_
lint
1.92.0-beta.5
(5cd7b3150 2025-12-05)
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