File tree 1 file changed +3
-6
lines changed
compiler/rustc_lint_defs/src
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -4333,9 +4333,9 @@ declare_lint! {
4333
4333
/// The `dependency_on_unit_never_type_fallback` lint detects cases where code compiles with
4334
4334
/// [never type fallback] being [`()`], but will stop compiling with fallback being [`!`].
4335
4335
///
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
4339
4339
///
4340
4340
/// ### Example
4341
4341
///
@@ -4372,9 +4372,6 @@ declare_lint! {
4372
4372
/// ```
4373
4373
///
4374
4374
/// 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
4378
4375
pub DEPENDENCY_ON_UNIT_NEVER_TYPE_FALLBACK ,
4379
4376
Warn ,
4380
4377
"never type fallback affecting unsafe function calls" ,
You can’t perform that action at this time.
0 commit comments