We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a91227c commit 0787e62Copy full SHA for 0787e62
compiler/rustc_lint_defs/src/builtin.rs
@@ -2226,7 +2226,7 @@ declare_lint! {
2226
/// in different crates and not deduplicated again via LTO. Pointer identity for memory
2227
/// created by `const` is similarly unreliable.
2228
pub POINTER_STRUCTURAL_MATCH,
2229
- Allow,
+ Forbid,
2230
"pointers are not structural-match",
2231
@future_incompatible = FutureIncompatibleInfo {
2232
reason: FutureIncompatibilityReason::FutureReleaseErrorDontReportInDeps,
0 commit comments