diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-11-21 15:29:00 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-21 15:29:00 +0100 |
| commit | 0828d5327b9950ef4b1fedd058bbc8eaed00f8be (patch) | |
| tree | 7171b26c8e91d1db3a24777c0b45f6738b864e92 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | f1b882b55805c342e46ee4ca3beeef1d1fa2044b (diff) | |
| parent | 238d03b3a32e7415becbcf22748286880ce21e3f (diff) | |
| download | rust-0828d5327b9950ef4b1fedd058bbc8eaed00f8be.tar.gz rust-0828d5327b9950ef4b1fedd058bbc8eaed00f8be.zip | |
Rollup merge of #65355 - Centril:almost-is-never-enough, r=oli-obk
Stabilize `!` in Rust 1.41.0 This PR stabilizes the `never_type` (written `!`). The type represents computations that we know diverge in the type system and therefore has no values / inhabitants / elements / members. The current nightly version is 1.40.0 which will become stable on 2019-12-19. Tracking issue: https://github.com/rust-lang/rust/issues/35121. Closes https://github.com/rust-lang/rust/issues/57012. Closes https://github.com/rust-lang/rust/issues/58184. Original stabilization report: https://github.com/rust-lang/rust/issues/57012#issuecomment-452398538 Additional notes: - In #62661 we reserved `impl<T> From<!> for T` so this concern should be resolved. - The type inference fallback change is moved to `#![feature(never_type_fallback)]` (https://github.com/rust-lang/rust/issues/65992). - You can find all of the tests referencing `never_type` in this PR which also reorganizes these tests whereas they were more scattered before. r? @nikomatsakis
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
