about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWaffle Lapkin <waffle.lapkin@gmail.com>2024-05-18 00:08:11 +0200
committerWaffle Lapkin <waffle.lapkin@gmail.com>2024-05-18 00:08:11 +0200
commit83acddc766a3659a17b414bbb76d5287d5fb739d (patch)
tree1e805b730e49c38cdc4a7c289166b4e9e8e4ff0f
parent956e5c18b9589d6f2e9445f28ff407f9f99efcb7 (diff)
downloadrust-83acddc766a3659a17b414bbb76d5287d5fb739d.tar.gz
rust-83acddc766a3659a17b414bbb76d5287d5fb739d.zip
Remove fixme
(libs team decided not to add `absurd` to std)
-rw-r--r--compiler/rustc_lint_defs/src/builtin.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_lint_defs/src/builtin.rs b/compiler/rustc_lint_defs/src/builtin.rs
index 53694545772..b195db9a5f5 100644
--- a/compiler/rustc_lint_defs/src/builtin.rs
+++ b/compiler/rustc_lint_defs/src/builtin.rs
@@ -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