File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/rustc_lint_defs/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4100,7 +4100,7 @@ declare_lint! {
4100
4100
/// [`!`]: https://doc.rust-lang.org/core/primitive.never.html
4101
4101
/// [`()`]: https://doc.rust-lang.org/core/primitive.unit.html
4102
4102
pub NEVER_TYPE_FALLBACK_FLOWING_INTO_UNSAFE ,
4103
- Warn ,
4103
+ Deny ,
4104
4104
"never type fallback affecting unsafe function calls" ,
4105
4105
@future_incompatible = FutureIncompatibleInfo {
4106
4106
reason: FutureIncompatibilityReason :: EditionAndFutureReleaseSemanticsChange ( Edition :: Edition2024 ) ,
@@ -4155,7 +4155,7 @@ declare_lint! {
4155
4155
///
4156
4156
/// See [Tracking Issue for making `!` fall back to `!`](https://github.com/rust-lang/rust/issues/123748).
4157
4157
pub DEPENDENCY_ON_UNIT_NEVER_TYPE_FALLBACK ,
4158
- Warn ,
4158
+ Deny ,
4159
4159
"never type fallback affecting unsafe function calls" ,
4160
4160
@future_incompatible = FutureIncompatibleInfo {
4161
4161
reason: FutureIncompatibilityReason :: EditionAndFutureReleaseError ( Edition :: Edition2024 ) ,
You can’t perform that action at this time.
0 commit comments