Skip to content

Commit 83acddc

Browse files
committed
Remove fixme
(libs team decided not to add `absurd` to std)
1 parent 956e5c1 commit 83acddc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler/rustc_lint_defs/src/builtin.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -4263,8 +4263,7 @@ declare_lint! {
42634263
///
42644264
/// // where absurd is a function with the following signature
42654265
/// // (it's sound, because `!` always marks unreachable code):
4266-
/// fn absurd<T>(_: !) -> T { ... }
4267-
// FIXME: use `core::convert::absurd` here instead, once it's merged
4266+
/// fn absurd<T>(never: !) -> T { ... }
42684267
/// ```
42694268
///
42704269
/// While it's convenient to be able to use non-diverging code in one of the branches (like

0 commit comments

Comments
 (0)