Comment Comment by Thom2000 FWIW this future lint `non_exhaustive_omitted_patterns` will help a bit: https://github.com/rust-lang/rust/issues/89554 parent Thom2000 12 days ago