about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-12-13 08:32:25 +0000
committerbors <bors@rust-lang.org>2017-12-13 08:32:25 +0000
commit61100840e5c978a99b0489e8eaa922da06c05f65 (patch)
tree627a0afe984f4fb82327f6b99b158ad1115bd843 /src/libsyntax/parse
parentdcf3db47c7382d0540a81f01bd0915f5c7a6e411 (diff)
parent1b9d0584a044cf63259601498cfd2a70ab213284 (diff)
downloadrust-61100840e5c978a99b0489e8eaa922da06c05f65.tar.gz
rust-61100840e5c978a99b0489e8eaa922da06c05f65.zip
Auto merge of #46419 - jseyfried:all_imports_in_metadata, r=nrc
Record all imports (`use`, `extern crate`) in the crate metadata

This PR adds non-`pub` `use` and `extern crate` imports in the crate metadata since hygienic macros invoked in other crates may use them. We already include all other non-`pub` items in the crate metadata. This improves import suggestions in some cases.

Fixes #42337.

r? @nrc
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions