Open
Description
Feature gate: #![feature(convert_absurd)]
This is a tracking issue for core::convert::absurd
function, which turns !
into any type.
Public API
// core::convert
pub const fn absurd<T>(x: !) -> T;
Steps / History
- Implementation: Add
core::convert::absurd
#124311 - Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- How best to document the function (how to deal with mentions of fallback)?