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 @@ -4200,9 +4200,9 @@ declare_lint! {
4200
4200
/// The `dependency_on_unit_never_type_fallback` lint detects cases where code compiles with
4201
4201
/// [never type fallback] being [`()`], but will stop compiling with fallback being [`!`].
4202
4202
///
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
4206
4206
///
4207
4207
/// ### Example
4208
4208
///
@@ -4239,9 +4239,6 @@ declare_lint! {
4239
4239
/// ```
4240
4240
///
4241
4241
/// 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
4245
4242
pub DEPENDENCY_ON_UNIT_NEVER_TYPE_FALLBACK ,
4246
4243
Warn ,
4247
4244
"never type fallback affecting unsafe function calls" ,
You can’t perform that action at this time.
0 commit comments