Skip to content

Commit

Permalink
make invalid_type_param_default lint show up in cargo future-compat r…
Browse files Browse the repository at this point in the history
…eports
  • Loading branch information
RalfJung committed Jul 15, 2024
1 parent b286722 commit ffb3f27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_lint_defs/src/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>",
};
}
Expand Down

0 comments on commit ffb3f27

Please sign in to comment.