Files
rust/src/tools
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-04-13 18:02:32 -07:00
2021-09-20 22:21:42 -04:00
2022-02-19 03:47:41 +08:00
2022-04-16 09:11:31 -04:00
2021-09-20 22:21:42 -04:00
2021-09-20 22:21:42 -04:00
2022-04-08 22:02:08 +02:00
2022-04-14 15:42:13 +03:00
2022-04-15 11:57:06 -07:00
2021-09-20 22:21:42 -04:00
2021-09-20 22:21:42 -04:00
2022-04-17 11:03:33 +02:00
2021-09-20 22:21:42 -04:00