We need to recurse into stripped modules to strip things like impl methods but when doing so we must not add any items to the `retained` set.