diff options
| author | David Wood <david@davidtw.co> | 2019-01-26 20:30:52 +0100 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2019-02-02 15:29:13 +0100 |
| commit | 71023394772e9194e3c7a2426364faef6c3ad2c4 (patch) | |
| tree | cecf141d101c1e72fa3c9578fea0721980f035ac /src/rustllvm/RustWrapper.cpp | |
| parent | 3e58dabc16b1678da8702c71f70c72644764226c (diff) | |
| download | rust-71023394772e9194e3c7a2426364faef6c3ad2c4.tar.gz rust-71023394772e9194e3c7a2426364faef6c3ad2c4.zip | |
Update visibility of intermediate use items.
Currently, the target of a use statement will be updated with the visibility of the use statement itself (if the use statement was visible). This commit ensures that if the path to the target item is via another use statement then that intermediate use statement will also have the visibility updated like the target. This silences incorrect `unreachable_pub` lints with inactionable suggestions.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
