mirror of https://github.com/rust-lang/rust
14 lines
311 B
Rust
14 lines
311 B
Rust
// The structure is reachable, but not exported, so rustdoc
|
|
// doesn't attempt to request doc link resolutions on it.
|
|
|
|
//@ check-pass
|
|
|
|
mod private {
|
|
/// [core::str::FromStr]
|
|
pub struct ReachableButNotExported;
|
|
}
|
|
|
|
pub fn foo() -> private::ReachableButNotExported {
|
|
private::ReachableButNotExported
|
|
}
|