Fix spurious non-exhaustive errors for cross-crate struct variants