We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8b1b2b commit 5e71659Copy full SHA for 5e71659
compiler/rustc_ast_lowering/src/lifetime_collector.rs
@@ -30,6 +30,9 @@ impl<'ast> LifetimeCollectVisitor<'ast> {
30
}
31
32
33
+ /// This collect lifetimes that are elided, for nodes like `Foo<T>` where there are no explicit
34
+ /// lifetime nodes. Is equivalent to having "pseudo" nodes introduced for each of the node ids
35
+ /// in the list start..end.
36
fn record_elided_anchor(&mut self, node_id: NodeId, span: Span) {
37
if let Some(LifetimeRes::ElidedAnchor { start, end }) =
38
self.resolver.get_lifetime_res(node_id)
0 commit comments