Comment Comment by lytedev I'm not sure if this is what you mean, exactly, but Rust indeed catches this at compile time.https://play.rust-lang.org/?version=stable&mode=debug&editio... https://play.rust-lang.org/?version=stable&mode=debug&editio... parent lytedev 1 year ago
https://play.rust-lang.org/?version=stable&mode=debug&editio... https://play.rust-lang.org/?version=stable&mode=debug&editio...