Skip to content

Commit c1a4c20

Browse files
committed
Auto merge of rust-lang#124305 - compiler-errors:deny-wc, r=<try>
[crater] make `where_clauses_object_safety` forbid cc rust-lang#50781 r? lcnr
2 parents b92758a + 51e80f7 commit c1a4c20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_lint_defs/src/builtin.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2130,10 +2130,10 @@ declare_lint! {
21302130
/// [issue #51443]: https://github.com./rust-lang/rust/issues/51443
21312131
/// [future-incompatible]: ../index.md#future-incompatible-lints
21322132
pub WHERE_CLAUSES_OBJECT_SAFETY,
2133-
Warn,
2133+
Deny,
21342134
"checks the object safety of where clauses",
21352135
@future_incompatible = FutureIncompatibleInfo {
2136-
reason: FutureIncompatibilityReason::FutureReleaseErrorDontReportInDeps,
2136+
reason: FutureIncompatibilityReason::FutureReleaseErrorReportInDeps,
21372137
reference: "issue #51443 <https://github.com./rust-lang/rust/issues/51443>",
21382138
};
21392139
}

0 commit comments

Comments
 (0)