change never_type stabilisation version
This commit is contained in:
parent
edb9d2b20d
commit
a704624ef5
3 changed files with 7 additions and 7 deletions
|
@ -234,7 +234,7 @@ impl<'a> From<Cow<'a, str>> for Box<Error> {
|
|||
}
|
||||
}
|
||||
|
||||
#[stable(feature = "never_type", since = "1.25.0")]
|
||||
#[stable(feature = "never_type", since = "1.26.0")]
|
||||
impl Error for ! {
|
||||
fn description(&self) -> &str { *self }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue