Revert "Stabilize the never_type, written !."
This reverts commit 15c30ddd69.
This commit is contained in:
@@ -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 }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user