by dtolnay · 4y ago · 0 comments
compile_error!("You meant to …");
so that the install would fail and `cargo uninstall rg` wouldn't be needed.Eg:
https://github.com/rust-lang/crates.io/blob/58e505f2abdabd6a...
https://github.com/rust-lang/crates.io/blob/58e505f2abdabd6a...
https://github.com/rust-lang/crates.io/blob/58e505f2abdabd6a...
https://github.com/rust-lang/crates.io/blob/58e505f2abdabd6a...