rust/compiler/rustc_ast/src
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
..
ast mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
attr Shrink Nonterminal. 2022-04-07 12:51:50 +10:00
expand Make allocator_kind a query. 2021-06-20 11:52:51 +02:00
util Fix invalid array access in beautify_doc_string 2022-04-08 15:30:37 +02:00
ast.rs Auto merge of #96016 - Aaron1011:hash-name-cleanup, r=cjgillot 2022-04-17 10:31:52 +00:00
ast_like.rs Remove Nonterminal::NtTT. 2022-03-28 10:03:02 +11:00
entry.rs Fix ICE when main is declared in an extern block 2021-06-09 23:14:02 -04:00
lib.rs Use const Box::default in P::<[T]>::new 2022-04-11 12:14:18 -07:00
mut_visit.rs Reimplement lowering of sym operands for asm! so that it also works with global_asm! 2022-04-14 15:32:03 +01:00
node_id.rs Use LocalExpnId where possible. 2021-07-17 19:41:02 +02:00
ptr.rs Use const Box::default in P::<[T]>::new 2022-04-11 12:14:18 -07:00
token.rs Rollup merge of #94461 - jhpratt:2024-edition, r=pnkfelix 2022-04-15 20:50:43 +02:00
tokenstream.rs Spellchecking compiler comments 2022-03-30 15:14:15 -04:00
visit.rs Visit generics inside visit_fn. 2022-04-17 11:03:33 +02:00