rust/src/librustc/lint
Corey Farwell 4f8ce9efb9 Rollup merge of #39009 - canndrew:default-unit-warnings, r=nikomatsakis
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.
2017-02-05 09:14:39 -05:00
..
builtin.rs Use a proper future-compatibility lint 2017-02-03 18:48:15 +08:00
context.rs note wording: lint implied by lint group, not lint group implies lint 2017-02-04 10:51:11 -08:00
mod.rs note lint group set on command line triggering individual lint 2017-02-04 10:51:11 -08:00
table.rs store typeck lints in the TypeckTables 2017-02-02 20:38:16 -05:00