Skip to content

Commit

Permalink
Remove fixme
Browse files Browse the repository at this point in the history
(libs team decided not to add `absurd` to std)
  • Loading branch information
WaffleLapkin committed May 17, 2024
1 parent 956e5c1 commit 83acddc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions compiler/rustc_lint_defs/src/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 83acddc

Please sign in to comment.