Function clippy_utils::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.
pub fn is_entrypoint_fn(cx: &LateContext<'_>, def_id: DefId) -> bool
Returns true
if the provided def_id
is an entrypoint to a program.