diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-10-13 01:50:03 +0200 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-11-21 14:55:32 +0100 |
| commit | 15c30ddd69d6cc3fffe6d304c6dc968a5ed046f1 (patch) | |
| tree | 95bc3d210dafa100d70199d2730b0378584898e7 /src/libcore/num | |
| parent | f1b882b55805c342e46ee4ca3beeef1d1fa2044b (diff) | |
| download | rust-15c30ddd69d6cc3fffe6d304c6dc968a5ed046f1.tar.gz rust-15c30ddd69d6cc3fffe6d304c6dc968a5ed046f1.zip | |
Stabilize the `never_type`, written `!`.
Diffstat (limited to 'src/libcore/num')
| -rw-r--r-- | src/libcore/num/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs index b5d61a3fd4e..c2f85b9535e 100644 --- a/src/libcore/num/mod.rs +++ b/src/libcore/num/mod.rs @@ -4728,7 +4728,7 @@ impl From<Infallible> for TryFromIntError { } } -#[unstable(feature = "never_type", issue = "35121")] +#[stable(feature = "never_type", since = "1.41.0")] impl From<!> for TryFromIntError { fn from(never: !) -> TryFromIntError { // Match rather than coerce to make sure that code like |
