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! {
41004100 /// [`!`]: https://doc.rust-lang.org/core/primitive.never.html
41014101 /// [`()`]: https://doc.rust-lang.org/core/primitive.unit.html
41024102 pub NEVER_TYPE_FALLBACK_FLOWING_INTO_UNSAFE ,
4103- Warn ,
4103+ Deny ,
41044104 "never type fallback affecting unsafe function calls" ,
41054105 @future_incompatible = FutureIncompatibleInfo {
41064106 reason: FutureIncompatibilityReason :: EditionAndFutureReleaseSemanticsChange ( Edition :: Edition2024 ) ,
@@ -4155,7 +4155,7 @@ declare_lint! {
41554155 ///
41564156 /// See [Tracking Issue for making `!` fall back to `!`](https://github.com/rust-lang/rust/issues/123748).
41574157 pub DEPENDENCY_ON_UNIT_NEVER_TYPE_FALLBACK ,
4158- Warn ,
4158+ Deny ,
41594159 "never type fallback affecting unsafe function calls" ,
41604160 @future_incompatible = FutureIncompatibleInfo {
41614161 reason: FutureIncompatibilityReason :: EditionAndFutureReleaseError ( Edition :: Edition2024 ) ,
You can’t perform that action at this time.
0 commit comments