function usedIgnoredError(varName, additional = "", type = "Identifier") {
	return {
		messageId: "usedIgnoredVar",
		data: {
			varName,
			additional,
		},
		type,
	};
}
Returns an expected error for used-but-ignored variables.
@param {string} varName The name of the variable
@param {string} [additional] The additional text for the message data
@param {string} [type] The node type (defaults to "Identifier")
@returns {Object} An expected error object