clippy_utils

Function is_entrypoint_fn

source
pub fn is_entrypoint_fn(cx: &LateContext<'_>, def_id: DefId) -> bool
Expand description

Returns true if the provided def_id is an entrypoint to a program.