Revert "Stabilize the never_type, written !."

This reverts commit 15c30ddd69.
This commit is contained in:
Niko Matsakis
2019-12-11 09:55:29 -05:00
parent 1719337d02
commit d286113024
19 changed files with 44 additions and 23 deletions

View File

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