Skip to content

Commit 51e80f7

Browse files
make where_clauses_object_safety forbid
1 parent b92758a commit 51e80f7

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)