about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-04-17 12:56:19 +0000
committerbors <bors@rust-lang.org>2022-04-17 12:56:19 +0000
commitcb1924a42a27937760ad4c24daa6745c89700f92 (patch)
tree08d80892c4ea1be618c879f21e1daf4da581bdcb /tests/rustdoc-js-std/parser-errors.js
parentcc25cbd24341d9e96c03756c09e841d504f6f4ef (diff)
parente4110cf6333bcf6174b9277669a9b71aede2e67e (diff)
downloadrust-cb1924a42a27937760ad4c24daa6745c89700f92.tar.gz
rust-cb1924a42a27937760ad4c24daa6745c89700f92.zip
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`
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions