Skip to content

Commit 0787e62

Browse files
committed
crater experiment: Forbid pointer_structural_match
1 parent a91227c commit 0787e62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_lint_defs/src/builtin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2226,7 +2226,7 @@ declare_lint! {
22262226
/// in different crates and not deduplicated again via LTO. Pointer identity for memory
22272227
/// created by `const` is similarly unreliable.
22282228
pub POINTER_STRUCTURAL_MATCH,
2229-
Allow,
2229+
Forbid,
22302230
"pointers are not structural-match",
22312231
@future_incompatible = FutureIncompatibleInfo {
22322232
reason: FutureIncompatibilityReason::FutureReleaseErrorDontReportInDeps,

0 commit comments

Comments
 (0)