File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -304,14 +304,12 @@ mod prim_bool {}
304
304
/// This is what is known as "never type fallback".
305
305
///
306
306
/// Historically, the fallback type was [`()`], causing confusing behavior where `!` spontaneously
307
- /// coerced to `()`, even when it would not infer `()` without the fallback. There are plans to
308
- /// change it in the [2024 edition] (and possibly in all editions on a later date); see
309
- /// [Tracking Issue for making `!` fall back to `!`][fallback-ti].
307
+ /// coerced to `()`, even when it would not infer `()` without the fallback. The fallback was changed
308
+ /// to `!` in the [2024 edition], and will be changed in all editions at a later date.
310
309
///
311
310
/// [coercion site]: <https://doc.rust-lang.org/reference/type-coercions.html#coercion-sites>
312
311
/// [`()`]: prim@unit
313
- /// [fallback-ti]: <https://github.com/rust-lang/rust/issues/123748>
314
- /// [2024 edition]: <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/index.html>
312
+ /// [2024 edition]: <https://doc.rust-lang.org/edition-guide/rust-2024/never-type-fallback.html>
315
313
///
316
314
#[ unstable( feature = "never_type" , issue = "35121" ) ]
317
315
mod prim_never { }
You can’t perform that action at this time.
0 commit comments