File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
compiler/rustc_lint_defs/src Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -4200,9 +4200,9 @@ declare_lint! {
42004200 /// The `dependency_on_unit_never_type_fallback` lint detects cases where code compiles with
42014201 /// [never type fallback] being [`()`], but will stop compiling with fallback being [`!`].
42024202 ///
4203- /// [never type fallback]: prim@ never#never-type-fallback
4204- /// [`() `]: prim@unit
4205- /// [`! `]:
4203+ /// [never type fallback]: https://doc.rust-lang.org/nightly/core/primitive. never.html #never-type-fallback
4204+ /// [`! `]: https://doc.rust-lang.org/core/primitive.never.html
4205+ /// [`() `]: https://doc.rust-lang.org/core/primitive.unit.html
42064206 ///
42074207 /// ### Example
42084208 ///
@@ -4239,9 +4239,6 @@ declare_lint! {
42394239 /// ```
42404240 ///
42414241 /// See [Tracking Issue for making `!` fall back to `!`](https://github.com/rust-lang/rust/issues/123748).
4242- ///
4243- /// [`!`]: https://doc.rust-lang.org/core/primitive.never.html
4244- /// [`()`]: https://doc.rust-lang.org/core/primitive.unit.html
42454242 pub DEPENDENCY_ON_UNIT_NEVER_TYPE_FALLBACK ,
42464243 Warn ,
42474244 "never type fallback affecting unsafe function calls" ,
You can’t perform that action at this time.
0 commit comments