4f8ce9efb9
Add warning for () to ! switch With feature(never_type) enabled diverging type variables will default to `!` instead of `()`. This can cause breakages where a trait is resolved on such a type. This PR emits a future-compatibility warning when it sees this happen. |
||
---|---|---|
.. | ||
bad_style.rs | ||
builtin.rs | ||
Cargo.toml | ||
lib.rs | ||
types.rs | ||
unused.rs |