Files
rust/compiler
Dylan DPC 81910a1b21 Rollup merge of #110965 - compiler-errors:anon-lt-dupe-oops, r=cjgillot
Don't duplicate anonymous lifetimes for async fn in traits

`record_lifetime_params_for_async` needs to be called outside of the scope of the function, or else it'll end up collecting anonymous lifetimes twice (those on the function and those within the `AnonymousCreateParameter` rib). This matches how `record_lifetime_params_for_async` is being used for functions with bodies below.

This fixes (partially) #110963 when the lifetimes are late-bound, but does not do so when the lifetimes are early-bound (as seen from the known-bug that I added).
2023-04-29 11:27:56 +05:30
..
2023-03-11 10:53:47 -06:00
2023-04-28 20:19:48 +02:00
2023-02-02 07:47:39 +01:00
2023-04-17 16:09:18 -04:00
2023-04-25 18:59:55 +01:00
2023-04-28 20:19:48 +02:00
2023-04-21 02:14:04 -07:00
2023-04-10 17:24:23 +09:00
2023-04-10 22:02:52 +02:00
2023-04-28 20:19:48 +02:00
2023-04-20 12:00:41 -03:00
2023-04-25 14:15:31 +08:00