Only lint `manual_non_exhaustive` for exported types For types that are not exported the attribute doesn't make a difference, but the manual pattern can still be used to achieve module level non exhaustiveness Fixes https://github.com/rust-lang/rust-clippy/issues/10301 Fixes https://github.com/rust-lang/rust-clippy/issues/12106 changelog: none