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 @@ -4204,9 +4204,9 @@ declare_lint! {
4204
4204
/// The `dependency_on_unit_never_type_fallback` lint detects cases where code compiles with
4205
4205
/// [never type fallback] being [`()`], but will stop compiling with fallback being [`!`].
4206
4206
///
4207
- /// [never type fallback]: prim@ never#never-type-fallback
4208
- /// [`() `]: prim@unit
4209
- /// [`! `]:
4207
+ /// [never type fallback]: https://doc.rust-lang.org/nightly/core/primitive. never.html #never-type-fallback
4208
+ /// [`! `]: https://doc.rust-lang.org/core/primitive.never.html
4209
+ /// [`() `]: https://doc.rust-lang.org/core/primitive.unit.html
4210
4210
///
4211
4211
/// ### Example
4212
4212
///
@@ -4243,9 +4243,6 @@ declare_lint! {
4243
4243
/// ```
4244
4244
///
4245
4245
/// See [Tracking Issue for making `!` fall back to `!`](https://github.com/rust-lang/rust/issues/123748).
4246
- ///
4247
- /// [`!`]: https://doc.rust-lang.org/core/primitive.never.html
4248
- /// [`()`]: https://doc.rust-lang.org/core/primitive.unit.html
4249
4246
pub DEPENDENCY_ON_UNIT_NEVER_TYPE_FALLBACK ,
4250
4247
Warn ,
4251
4248
"never type fallback affecting unsafe function calls" ,
You can’t perform that action at this time.
0 commit comments