diff options
| author | Andrew Cann <shum@canndrew.org> | 2018-01-21 16:44:41 +0800 |
|---|---|---|
| committer | Andrew Cann <shum@canndrew.org> | 2018-03-14 12:44:51 +0800 |
| commit | a9fc3901b07d0494bd3eb9c37b10e63b429714b0 (patch) | |
| tree | ba7a2a9824455ec8cecc9d83270559c428400ec8 /src/libstd/error.rs | |
| parent | 9b15ddb29e5acb15b074913d1e70b5b26bd89ee6 (diff) | |
| download | rust-a9fc3901b07d0494bd3eb9c37b10e63b429714b0.tar.gz rust-a9fc3901b07d0494bd3eb9c37b10e63b429714b0.zip | |
stabilise feature(never_type)
Replace feature(never_type) with feature(exhaustive_patterns). feature(exhaustive_patterns) only covers the pattern-exhaustives checks that used to be covered by feature(never_type)
Diffstat (limited to 'src/libstd/error.rs')
| -rw-r--r-- | src/libstd/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/error.rs b/src/libstd/error.rs index eb5022ad577..347b8224410 100644 --- a/src/libstd/error.rs +++ b/src/libstd/error.rs @@ -234,7 +234,7 @@ impl<'a> From<Cow<'a, str>> for Box<Error> { } } -#[unstable(feature = "never_type", issue = "35121")] +#[stable(feature = "never_type", since = "1.24.0")] impl Error for ! { fn description(&self) -> &str { *self } } |
