bors
1ec2c136b3
Auto merge of #95779 - cjgillot:ast-lifetimes-undeclared, r=petrochenkov
...
Report undeclared lifetimes during late resolution.
First step in https://github.com/rust-lang/rust/pull/91557
We reuse the rib design of the current resolution framework. Specific `LifetimeRib` and `LifetimeRibKind` types are introduced. The most important variant is `LifetimeRibKind::Generics`, which happens each time we encounter something which may introduce generic lifetime parameters. It can be an item or a `for<...>` binder. The `LifetimeBinderKind` specifies how this rib behaves with respect to in-band lifetimes.
r? `@petrochenkov`
2022-04-17 12:56:19 +00:00
..
2022-03-28 08:41:12 +03:00
2022-03-30 17:04:46 -04:00
2022-03-29 20:18:28 -04:00
2022-04-17 12:56:19 +00:00
2022-04-17 11:03:34 +02:00
2022-04-17 12:56:19 +00:00
2022-04-16 19:42:00 +02:00
2022-03-20 09:14:59 +01:00
2022-04-17 11:03:34 +02:00
2022-04-16 04:46:01 +00:00
2022-04-11 08:55:03 -04:00
2022-04-16 11:43:28 +00:00
2022-04-16 14:24:14 +00:00
2022-04-17 05:26:08 +00:00
2022-04-16 19:42:03 +02:00
2022-04-16 22:04:10 +00:00
2022-04-13 02:44:59 +01:00
2022-03-30 11:23:58 +02:00
2022-04-13 02:44:59 +01:00
2022-04-17 11:03:34 +02:00
2022-04-16 14:25:56 +02:00
2022-04-15 20:50:43 +02:00
2022-04-17 12:56:19 +00:00
2022-04-14 15:32:03 +01:00
2022-04-17 08:06:53 +00:00
2022-03-30 15:14:15 -04:00
2022-04-16 19:42:04 +02:00
2022-04-17 08:06:53 +00:00
2022-03-23 22:13:55 +01:00
2022-04-17 11:03:34 +02:00
2022-04-17 11:03:34 +02:00
2022-04-15 14:36:30 +01:00
2022-04-13 22:51:34 +02:00
2022-04-17 08:06:53 +00:00
2022-04-17 08:06:53 +00:00
2022-04-16 14:25:56 +02:00
2022-04-11 09:26:26 -04:00
2022-04-13 22:51:34 +02:00
2022-04-17 08:06:53 +00:00
2022-04-17 00:07:23 +02:00
2022-03-30 15:14:15 -04:00
2022-04-17 08:06:53 +00:00
2022-04-02 12:20:59 +02:00
2022-03-30 11:23:58 +02:00
2022-04-12 19:59:32 +02:00
2022-04-17 11:03:34 +02:00
2022-03-31 17:20:03 -04:00
2022-04-05 07:01:02 +01:00
2022-04-15 20:50:47 +02:00
2022-04-17 10:31:52 +00:00
2022-04-17 08:06:53 +00:00
2022-04-13 22:51:34 +02:00
2022-04-16 14:25:56 +02:00
2022-03-28 16:57:45 +00:00
2022-04-10 13:08:36 +02:00
2022-03-28 16:27:14 +00:00
2022-04-17 08:06:53 +00:00