pub fn is_enum_variant_ctor( cx: &LateContext<'_>, enum_item: Symbol, variant_name: Symbol, ctor_call_id: DefId, ) -> bool
Checks if {ctor_call_id}(...) is {enum_item}::{variant_name}(...).
{ctor_call_id}(...)
{enum_item}::{variant_name}(...)