Skip to content

Commit

Permalink
Rollup merge of #109457 - Veykril:ribstack, r=petrochenkov
Browse files Browse the repository at this point in the history
Remove comment about reusing rib allocations

Perf indicates this to not be worth the complexity

cc #4948
  • Loading branch information
matthiaskrgr authored Mar 22, 2023
2 parents 6673d0a + 204807d commit 3712bff
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion compiler/rustc_resolve/src/late.rs
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,6 @@ struct LateResolutionVisitor<'a, 'b, 'ast, 'tcx> {
parent_scope: ParentScope<'a>,

/// The current set of local scopes for types and values.
/// FIXME #4948: Reuse ribs to avoid allocation.
ribs: PerNS<Vec<Rib<'a>>>,

/// Previous poped `rib`, only used for diagnostic.
Expand Down

0 comments on commit 3712bff

Please sign in to comment.