Auto merge of #32055 - mitaa:rdoc-strip-priv-imports, r=alexcrichton

fixes #27104

r? @alexcrichton
This commit is contained in:
bors
2016-03-06 17:08:36 +00:00
5 changed files with 51 additions and 8 deletions

View File

@@ -109,6 +109,8 @@ const PASSES: &'static [Pass] = &[
"concatenates all document attributes into one document attribute"),
("strip-private", passes::strip_private,
"strips all private items from a crate which cannot be seen externally"),
("strip-priv-imports", passes::strip_priv_imports,
"strips all private import statements (`use`, `extern crate`) from a crate"),
];
const DEFAULT_PASSES: &'static [&'static str] = &[