rust/tests/rustdoc/hide-unstable-trait.rs
2023-01-11 09:32:08 +00:00

12 lines
232 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;