diff options
| author | bors <bors@rust-lang.org> | 2022-01-09 10:02:49 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-01-09 10:02:49 +0000 |
| commit | e19ca1d946269f7b7eb13171531caf2e16f42076 (patch) | |
| tree | 5ca3d359e5f2ab98e3cb8797ae56fa23af20ac87 /compiler/rustc_codegen_gcc | |
| parent | 02fe61b381c2dedc0071e1aacfbe91e0bad1f656 (diff) | |
| parent | 4b03fd910c4d963a369baa3e38c9a7713c04a79c (diff) | |
| download | rust-e19ca1d946269f7b7eb13171531caf2e16f42076.tar.gz rust-e19ca1d946269f7b7eb13171531caf2e16f42076.zip | |
Auto merge of #92086 - petrochenkov:modchild, r=jackh726
rustc_metadata: Optimize and document module children decoding The first commit limits the item in the `item_children`/`each_child_of_item` query to modules (in name resolution sense) and adds a corresponding assertion. The `associated_item_def_ids` query collecting children of traits and impls specifically now uses a simplified implementation not decoding unnecessary data instead of `each_child_of_item`, this gives a nice performance improvement. The second commit does some renaming that clarifies the terminology used for all items in a module vs `use` items only.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
