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

Turns out field names of struct variants are not encoded in crate metadata.