rust/compiler/rustc_metadata
Guillaume Gomez 539c435b50
Rollup merge of #80646 - bugadani:meta, r=petrochenkov
Clean up in `each_child_of_item`

This PR hopes to eliminate some of the surprising elements I encountered while reading the function.
- `macros_only` is checked against inside the loop body, but if it is `true`, the loop is skipped anyway
- only query `span` when relevant
- no need to allocate attribute vector
2021-01-03 17:09:13 +01:00
..
src Rollup merge of #80646 - bugadani:meta, r=petrochenkov 2021-01-03 17:09:13 +01:00
Cargo.toml Don't query unstable data when staged_api is off 2020-09-13 02:10:39 +02:00