Skip to content

Commit 28f2456

Browse files
comment out link to never type fallback lint to allow level change
1 parent 4aa1ede commit 28f2456

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/rust-2024/never-type-fallback.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
## Summary
44

55
- Never type (`!`) to any type ("never-to-any") coercions fall back to never type (`!`) rather than to unit type (`()`).
6-
- The [`never_type_fallback_flowing_into_unsafe`] lint is now `deny` by default.
6+
- The `never_type_fallback_flowing_into_unsafe` lint is now `deny` by default.
77

8-
[`never_type_fallback_flowing_into_unsafe`]: ../../rustc/lints/listing/error-by-default.html#never-type-fallback-flowing-into-unsafe
8+
<!-- [`never_type_fallback_flowing_into_unsafe`]: ../../rustc/lints/listing/error-by-default.html#never-type-fallback-flowing-into-unsafe -->
99

1010
## Details
1111

@@ -57,7 +57,7 @@ In some cases your code might depend on the fallback type being `()`, so this ca
5757

5858
### `never_type_fallback_flowing_into_unsafe`
5959

60-
The default level of the [`never_type_fallback_flowing_into_unsafe`] lint has been raised from `warn` to `deny` in the 2024 Edition. This lint helps detect a particular interaction with the fallback to `!` and `unsafe` code which may lead to undefined behavior. See the link for a complete description.
60+
The default level of the `never_type_fallback_flowing_into_unsafe` lint has been raised from `warn` to `deny` in the 2024 Edition. This lint helps detect a particular interaction with the fallback to `!` and `unsafe` code which may lead to undefined behavior. See the link for a complete description.
6161

6262
## Migration
6363

0 commit comments

Comments
 (0)