diff options
Diffstat (limited to 'src/test/rustdoc/hide-unstable-trait.rs')
-rw-r--r-- | src/test/rustdoc/hide-unstable-trait.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/rustdoc/hide-unstable-trait.rs b/src/test/rustdoc/hide-unstable-trait.rs new file mode 100644 index 000000000..c30d6ed7b --- /dev/null +++ b/src/test/rustdoc/hide-unstable-trait.rs @@ -0,0 +1,11 @@ +// aux-build:unstable-trait.rs + +#![crate_name = "foo"] +#![feature(private_trait)] + +extern crate unstable_trait; + +// @has foo/struct.Foo.html 'bar' +// @has foo/struct.Foo.html 'bar2' +#[doc(inline)] +pub use unstable_trait::Foo; |