mirror of
https://git.proxmox.com/git/rustc
synced 2025-06-26 19:57:47 +00:00
14 lines
310 B
Rust
14 lines
310 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
|
|
}
|