pub(crate) fn is_default_equivalent_ctor(
cx: &LateContext<'_>,
def_id: DefId,
path: &QPath<'_>,
) -> bool
Expand description
Returns true if the def_id
associated with the path
is recognized as a “default-equivalent”
constructor from the std library