Skip to content

Commit 4452337

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 c2f2db7 + b0f43fa commit 4452337

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
@@ -2129,10 +2129,10 @@ declare_lint! {
21292129
/// [issue #51443]: https://github.com/rust-lang/rust/issues/51443
21302130
/// [future-incompatible]: ../index.md#future-incompatible-lints
21312131
pub WHERE_CLAUSES_OBJECT_SAFETY,
2132-
Warn,
2132+
Forbid,
21332133
"checks the object safety of where clauses",
21342134
@future_incompatible = FutureIncompatibleInfo {
2135-
reason: FutureIncompatibilityReason::FutureReleaseErrorDontReportInDeps,
2135+
reason: FutureIncompatibilityReason::FutureReleaseErrorReportInDeps,
21362136
reference: "issue #51443 <https://github.com/rust-lang/rust/issues/51443>",
21372137
};
21382138
}

0 commit comments

Comments
 (0)