mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
Rollup merge of #109457 - Veykril:ribstack, r=petrochenkov
Remove comment about reusing rib allocations Perf indicates this to not be worth the complexity cc #4948
This commit is contained in:
commit
3712bfff1b
@ -590,7 +590,6 @@ struct LateResolutionVisitor<'a, 'b, 'ast, 'tcx> {
|
|||||||
parent_scope: ParentScope<'a>,
|
parent_scope: ParentScope<'a>,
|
||||||
|
|
||||||
/// The current set of local scopes for types and values.
|
/// The current set of local scopes for types and values.
|
||||||
/// FIXME #4948: Reuse ribs to avoid allocation.
|
|
||||||
ribs: PerNS<Vec<Rib<'a>>>,
|
ribs: PerNS<Vec<Rib<'a>>>,
|
||||||
|
|
||||||
/// Previous poped `rib`, only used for diagnostic.
|
/// Previous poped `rib`, only used for diagnostic.
|
||||||
|
Loading…
Reference in New Issue
Block a user