Skip to main content
match_head_needs_bracket
rustc_
lint
1.98.0-nightly
(14210df0e 2026-05-31)
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