rust/tests/rustdoc/inline_cross/add-docs.rs
2024-06-24 11:08:41 +02:00

10 lines
247 B
Rust
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//@ aux-build:add-docs.rs
extern crate inner;
//@ has add_docs/struct.MyStruct.html
//@ hasraw add_docs/struct.MyStruct.html "Doc comment from pub use, Doc comment from definition"
/// Doc comment from 'pub use',
pub use inner::MyStruct;