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 @@ -4333,9 +4333,9 @@ declare_lint! {
43334333 /// The `dependency_on_unit_never_type_fallback` lint detects cases where code compiles with
43344334 /// [never type fallback] being [`()`], but will stop compiling with fallback being [`!`].
43354335 ///
4336- /// [never type fallback]: prim@ never#never-type-fallback
4337- /// [`() `]: prim@unit
4338- /// [`! `]:
4336+ /// [never type fallback]: https://doc.rust-lang.org/nightly/core/primitive. never.html #never-type-fallback
4337+ /// [`! `]: https://doc.rust-lang.org/core/primitive.never.html
4338+ /// [`() `]: https://doc.rust-lang.org/core/primitive.unit.html
43394339 ///
43404340 /// ### Example
43414341 ///
@@ -4372,9 +4372,6 @@ declare_lint! {
43724372 /// ```
43734373 ///
43744374 /// See [Tracking Issue for making `!` fall back to `!`](https://github.com/rust-lang/rust/issues/123748).
4375- ///
4376- /// [`!`]: https://doc.rust-lang.org/core/primitive.never.html
4377- /// [`()`]: https://doc.rust-lang.org/core/primitive.unit.html
43784375 pub DEPENDENCY_ON_UNIT_NEVER_TYPE_FALLBACK ,
43794376 Warn ,
43804377 "never type fallback affecting unsafe function calls" ,
You can’t perform that action at this time.
0 commit comments