The newer revive flags an exported function returning an unexported type and a redundant type in a var declaration.