Michael Goulet e9897c3a71
Rollup merge of #115011 - compiler-errors:warn-on-elided-assoc-ct-lt, r=cjgillot
Warn on elided lifetimes in associated constants (`ELIDED_LIFETIMES_IN_ASSOCIATED_CONSTANT`)

Elided lifetimes in associated constants (in impls) erroneously resolve to fresh lifetime parameters on the impl since #97313. This is not correct behavior (see #38831).

I originally opened #114716 to fix this, but given the time that has passed, the crater results seem pretty bad: https://github.com/rust-lang/rust/pull/114716#issuecomment-1682091952

This PR alternatively implements a lint against this behavior, and I'm hoping to bump this to deny in a few versions.
2023-08-22 09:00:49 -07:00
..
2023-05-01 16:15:13 +08:00
2023-04-16 11:38:52 +00:00
2023-04-16 11:38:52 +00:00
2023-04-16 11:38:52 +00:00
2023-08-06 13:34:53 +00:00
2023-04-16 11:38:52 +00:00
2023-05-24 19:35:59 -03:00
2023-05-24 19:35:59 -03:00
2023-05-24 19:35:59 -03:00
2023-04-16 11:38:52 +00:00
2023-07-27 15:51:02 +00:00
2023-05-24 19:35:59 -03:00
2023-05-24 19:54:13 -03:00
2023-04-03 15:59:21 +00:00
2023-07-27 15:51:02 +00:00
2023-04-03 15:59:21 +00:00
2023-07-27 15:51:02 +00:00
2023-05-05 20:36:21 +02:00
2023-07-29 11:47:26 +02:00
2023-08-06 13:34:53 +00:00
2023-08-07 17:16:10 +00:00
2023-04-16 11:38:52 +00:00