fn is_lit_name_ref(name_ref: &NameRef) -> boolExpand description
Checks if a name reference is used in a literal (constructor) context. Used to filter references when searching for struct/variant constructors.
ยงReturns
true if the name reference is used as part of a struct/variant literal expression.