diff options
| author | mitaa <mitaa.ceb@gmail.com> | 2016-03-05 11:20:34 +0100 |
|---|---|---|
| committer | mitaa <mitaa.ceb@gmail.com> | 2016-03-06 08:18:58 +0100 |
| commit | 688e52201edb497453f33e098f23de136a0d64bf (patch) | |
| tree | b358a5ee84b176c2f3dfbf7ae271703d02a7ef2d /src/test/rustdoc | |
| parent | f6e125f04a54ec65eac0ecd3cb68e180210a06fa (diff) | |
| download | rust-688e52201edb497453f33e098f23de136a0d64bf.tar.gz rust-688e52201edb497453f33e098f23de136a0d64bf.zip | |
Split out rustdoc pass to strip private imports
Diffstat (limited to 'src/test/rustdoc')
| -rw-r--r-- | src/test/rustdoc/issue-15347.rs | 2 | ||||
| -rw-r--r-- | src/test/rustdoc/issue-27104.rs | 20 |
2 files changed, 21 insertions, 1 deletions
diff --git a/src/test/rustdoc/issue-15347.rs b/src/test/rustdoc/issue-15347.rs index 97c37bbc1ed..266a3089194 100644 --- a/src/test/rustdoc/issue-15347.rs +++ b/src/test/rustdoc/issue-15347.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// compile-flags:--no-defaults --passes "collapse-docs" --passes "unindent-comments" +// compile-flags:--no-defaults --passes collapse-docs --passes unindent-comments // @has issue_15347/fn.foo.html #[doc(hidden)] diff --git a/src/test/rustdoc/issue-27104.rs b/src/test/rustdoc/issue-27104.rs new file mode 100644 index 00000000000..5fa093d8f29 --- /dev/null +++ b/src/test/rustdoc/issue-27104.rs @@ -0,0 +1,20 @@ +// Copyright 2016 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +// compile-flags:--no-defaults --passes strip-priv-imports +// aux-build:empty.rs +// ignore-cross-compile + +// @has issue_27104/index.html +// @!has - 'extern crate std' +// @!has - 'use std::prelude::' + +// @has - 'pub extern crate empty' +pub extern crate empty; |
