From: bors Date: Tue, 16 Aug 2016 07:12:12 +0000 (-0700) Subject: Auto merge of #35162 - canndrew:bang_type_coerced, r=nikomatsakis X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=e25542cb02d946959517ebb68e2f7b1318817237;p=rust.git Auto merge of #35162 - canndrew:bang_type_coerced, r=nikomatsakis Implement the `!` type This implements the never type (`!`) and hides it behind the feature gate `#[feature(never_type)]`. With the feature gate off, things should build as normal (although some error messages may be different). With the gate on, `!` is usable as a type and diverging type variables (ie. types that are unconstrained by anything in the code) will default to `!` instead of `()`. --- e25542cb02d946959517ebb68e2f7b1318817237