Fixup links in lint docs
looks like prim@ stuff does not work here (is it possibly not handled by rustdoc at all?)
This commit is contained in:
parent
a22f8aa17a
commit
8400cd0b34
@ -4204,9 +4204,9 @@ declare_lint! {
|
|||||||
/// The `dependency_on_unit_never_type_fallback` lint detects cases where code compiles with
|
/// The `dependency_on_unit_never_type_fallback` lint detects cases where code compiles with
|
||||||
/// [never type fallback] being [`()`], but will stop compiling with fallback being [`!`].
|
/// [never type fallback] being [`()`], but will stop compiling with fallback being [`!`].
|
||||||
///
|
///
|
||||||
/// [never type fallback]: prim@never#never-type-fallback
|
/// [never type fallback]: https://doc.rust-lang.org/nightly/core/primitive.never.html#never-type-fallback
|
||||||
/// [`()`]: prim@unit
|
/// [`!`]: https://doc.rust-lang.org/core/primitive.never.html
|
||||||
/// [`!`]:
|
/// [`()`]: https://doc.rust-lang.org/core/primitive.unit.html
|
||||||
///
|
///
|
||||||
/// ### Example
|
/// ### Example
|
||||||
///
|
///
|
||||||
@ -4243,9 +4243,6 @@ declare_lint! {
|
|||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// See [Tracking Issue for making `!` fall back to `!`](https://github.com/rust-lang/rust/issues/123748).
|
/// See [Tracking Issue for making `!` fall back to `!`](https://github.com/rust-lang/rust/issues/123748).
|
||||||
///
|
|
||||||
/// [`!`]: https://doc.rust-lang.org/core/primitive.never.html
|
|
||||||
/// [`()`]: https://doc.rust-lang.org/core/primitive.unit.html
|
|
||||||
pub DEPENDENCY_ON_UNIT_NEVER_TYPE_FALLBACK,
|
pub DEPENDENCY_ON_UNIT_NEVER_TYPE_FALLBACK,
|
||||||
Warn,
|
Warn,
|
||||||
"never type fallback affecting unsafe function calls",
|
"never type fallback affecting unsafe function calls",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user