fn compute_ref_match( ctx: &CompletionContext<'_>, completion_ty: &Type<'_>, ) -> Option<CompletionItemRefMode>