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