mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
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
|
|
}
|