Rename never_type_impls gate to never_type

This commit is contained in:
Andrew Cann
2017-11-25 14:28:17 +08:00
parent 5951f8d1ba
commit b9df045b79
4 changed files with 8 additions and 8 deletions

View File

@@ -234,7 +234,7 @@ impl<'a> From<Cow<'a, str>> for Box<Error> {
}
}
#[unstable(feature = "never_type_impls", issue = "35121")]
#[unstable(feature = "never_type", issue = "35121")]
impl Error for ! {
fn description(&self) -> &str { *self }
}

View File

@@ -192,7 +192,7 @@ mod prim_bool { }
/// [`Default`]: default/trait.Default.html
/// [`default()`]: default/trait.Default.html#tymethod.default
///
#[unstable(feature = "never_type_impls", issue = "35121")]
#[unstable(feature = "never_type", issue = "35121")]
mod prim_never { }
#[doc(primitive = "char")]