about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stdio.rs
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
commit1ec2c136b35bd4660cba778346f8df7daf2ab173 (patch)
tree3a0923df3630bd8753561b81e704834eb3b9da88 /library/std/src/sys/unix/stdio.rs
parentaf68f7182e11de7eced78078313e9ba0436db84e (diff)
parente628df9b0b0310fb293c75e75ad19c72f92381f8 (diff)
downloadrust-1ec2c136b35bd4660cba778346f8df7daf2ab173.tar.gz
rust-1ec2c136b35bd4660cba778346f8df7daf2ab173.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 'library/std/src/sys/unix/stdio.rs')
0 files changed, 0 insertions, 0 deletions