diff options
| author | Waffle Lapkin <waffle.lapkin@gmail.com> | 2024-05-18 00:08:11 +0200 |
|---|---|---|
| committer | Waffle Lapkin <waffle.lapkin@gmail.com> | 2024-05-18 00:08:11 +0200 |
| commit | 83acddc766a3659a17b414bbb76d5287d5fb739d (patch) | |
| tree | 1e805b730e49c38cdc4a7c289166b4e9e8e4ff0f | |
| parent | 956e5c18b9589d6f2e9445f28ff407f9f99efcb7 (diff) | |
| download | rust-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.rs | 3 |
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 |
