Use newtype_index!
-generated types more idiomatically
This commit is contained in:
parent
c580c498a1
commit
4b63362f3d
20 changed files with 61 additions and 87 deletions
|
@ -1948,7 +1948,7 @@ impl<'a, 'ast, 'ra: 'ast, 'tcx> LateResolutionVisitor<'a, 'ast, 'ra, 'tcx> {
|
|||
|
||||
self.record_lifetime_res(
|
||||
anchor_id,
|
||||
LifetimeRes::ElidedAnchor { start: id, end: NodeId::from_u32(id.as_u32() + 1) },
|
||||
LifetimeRes::ElidedAnchor { start: id, end: id + 1 },
|
||||
LifetimeElisionCandidate::Ignore,
|
||||
);
|
||||
self.resolve_anonymous_lifetime(<, anchor_id, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue