rustc_passes::naked_functions

Function check_no_patterns

Source
fn check_no_patterns(tcx: TyCtxt<'_>, params: &[Param<'_>])
Expand description

Checks that parameters don’t use patterns. Mirrors the checks for function declarations.