pub fn cannot_call<T: TreeToken>(target: &Ident<T>) -> Diagnostic
Creates a “cannot call” diagnostic.