Skip to content

Commit

Permalink
Unrolled build for rust-lang#124211
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#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.
  • Loading branch information
rust-timer authored Jul 10, 2024
2 parents 7caf672 + eb92923 commit a1d4d67
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 @@ -4620,7 +4620,7 @@ declare_lint! {
/// [against]: https://github.com/rust-lang/rust/issues/38831
/// [future-incompatible]: ../index.md#future-incompatible-lints
pub ELIDED_LIFETIMES_IN_ASSOCIATED_CONSTANT,
Warn,
Deny,
"elided lifetimes cannot be used in associated constants in impls",
@future_incompatible = FutureIncompatibleInfo {
reason: FutureIncompatibilityReason::FutureReleaseErrorDontReportInDeps,
Expand Down

0 comments on commit a1d4d67

Please sign in to comment.