mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-16 17:03:35 +00:00
Remove fixme
(libs team decided not to add `absurd` to std)
This commit is contained in:
parent
956e5c18b9
commit
83acddc766
@ -4263,8 +4263,7 @@ declare_lint! {
|
||||
///
|
||||
/// // where absurd is a function with the following signature
|
||||
/// // (it's sound, because `!` always marks unreachable code):
|
||||
/// fn absurd<T>(_: !) -> T { ... }
|
||||
// FIXME: use `core::convert::absurd` here instead, once it's merged
|
||||
/// fn absurd<T>(never: !) -> T { ... }
|
||||
/// ```
|
||||
///
|
||||
/// While it's convenient to be able to use non-diverging code in one of the branches (like
|
||||
|
Loading…
Reference in New Issue
Block a user