diff options
| author | David Creswick <dcrewi@gyrae.net> | 2013-11-11 22:17:47 -0600 |
|---|---|---|
| committer | David Creswick <dcrewi@gyrae.net> | 2013-11-13 11:31:59 -0600 |
| commit | 1f7eb4f9aae43cb1177e2cf67a799a63b911ea78 (patch) | |
| tree | 0e17edd4ee83da9638cb94025d172fc414fe4bee /src/rustllvm/RustWrapper.cpp | |
| parent | 4d9b95fada7c97ac1c63099bab1d45ba120958ec (diff) | |
| download | rust-1f7eb4f9aae43cb1177e2cf67a799a63b911ea78.tar.gz rust-1f7eb4f9aae43cb1177e2cf67a799a63b911ea78.zip | |
make missing_doc lint respect the visibility rules
Previously, the `exported_items` set created by the privacy pass was incomplete. Specifically, it did not include items that had been defined at a private path but then `pub use`d at a public path. This commit finds all crate exports during the privacy pass. Consequently, some code in the reachable pass and in rustdoc is no longer necessary. This commit then removes the separate `MissingDocLintVisitor` lint pass, opting to check missing_doc lint in the same pass as the other lint checkers using the visibility result computed by the privacy pass. Fixes #9777.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
