1
Fork 0

make invalid_type_param_default lint show up in cargo future-compat reports

and remove the feature gate that silenced the lint
This commit is contained in:
Ralf Jung 2024-07-15 21:25:03 +02:00
parent b286722878
commit 9d9b55cd2b
12 changed files with 115 additions and 30 deletions

View file

@ -1241,7 +1241,7 @@ declare_lint! {
Deny,
"type parameter default erroneously allowed in invalid location",
@future_incompatible = FutureIncompatibleInfo {
reason: FutureIncompatibilityReason::FutureReleaseErrorDontReportInDeps,
reason: FutureIncompatibilityReason::FutureReleaseErrorReportInDeps,
reference: "issue #36887 <https://github.com/rust-lang/rust/issues/36887>",
};
}