make pointer_structural_match warn-by-default
This commit is contained in:
parent
af6c7e0ca1
commit
70a8e157ab
8 changed files with 223 additions and 26 deletions
|
@ -2226,7 +2226,7 @@ declare_lint! {
|
|||
/// in different crates and not deduplicated again via LTO. Pointer identity for memory
|
||||
/// created by `const` is similarly unreliable.
|
||||
pub POINTER_STRUCTURAL_MATCH,
|
||||
Allow,
|
||||
Warn,
|
||||
"pointers are not structural-match",
|
||||
@future_incompatible = FutureIncompatibleInfo {
|
||||
reason: FutureIncompatibilityReason::FutureReleaseErrorDontReportInDeps,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue