Fix a few stability attributes

These show up in rustdoc so need to be correct.
This commit is contained in:
Oliver Middleton
2017-04-18 23:33:38 +01:00
parent c398efc53f
commit fd325a1b48
5 changed files with 17 additions and 7 deletions

View File

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