Rollup merge of #124211 - compiler-errors:bump-elided_lifetimes_in_associated_constant, r=BoxyUwU

Bump `elided_lifetimes_in_associated_constant` to deny

It's been 5 versions since this was last bumped. Let's bump it up again.
This commit is contained in:
Jacob Pratt 2024-07-10 00:37:10 -04:00 committed by GitHub
commit de143cf992
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4620,7 +4620,7 @@ declare_lint! {
/// [against]: https://github.com/rust-lang/rust/issues/38831 /// [against]: https://github.com/rust-lang/rust/issues/38831
/// [future-incompatible]: ../index.md#future-incompatible-lints /// [future-incompatible]: ../index.md#future-incompatible-lints
pub ELIDED_LIFETIMES_IN_ASSOCIATED_CONSTANT, pub ELIDED_LIFETIMES_IN_ASSOCIATED_CONSTANT,
Warn, Deny,
"elided lifetimes cannot be used in associated constants in impls", "elided lifetimes cannot be used in associated constants in impls",
@future_incompatible = FutureIncompatibleInfo { @future_incompatible = FutureIncompatibleInfo {
reason: FutureIncompatibilityReason::FutureReleaseErrorDontReportInDeps, reason: FutureIncompatibilityReason::FutureReleaseErrorDontReportInDeps,