rust/tests/rustdoc/hide-unstable-trait.rs

12 lines
233 B
Rust

//@ aux-build:unstable-trait.rs
#![crate_name = "foo"]
#![feature(private_trait)]
extern crate unstable_trait;
// @hasraw foo/struct.Foo.html 'bar'
// @hasraw foo/struct.Foo.html 'bar2'
#[doc(inline)]
pub use unstable_trait::Foo;