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 @@ -4204,9 +4204,9 @@ declare_lint! {
42044204 /// The `dependency_on_unit_never_type_fallback` lint detects cases where code compiles with
42054205 /// [never type fallback] being [`()`], but will stop compiling with fallback being [`!`].
42064206 ///
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
42104210 ///
42114211 /// ### Example
42124212 ///
@@ -4243,9 +4243,6 @@ declare_lint! {
42434243 /// ```
42444244 ///
42454245 /// 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
42494246 pub DEPENDENCY_ON_UNIT_NEVER_TYPE_FALLBACK ,
42504247 Warn ,
42514248 "never type fallback affecting unsafe function calls" ,
You can’t perform that action at this time.
0 commit comments