2023-02-11 19:14:25 +04:00
|
|
|
// The structure is reachable, but not exported, so rustdoc
|
|
|
|
// doesn't attempt to request doc link resolutions on it.
|
|
|
|
|
2024-02-22 12:10:29 +00:00
|
|
|
//@ check-pass
|
2023-02-11 19:14:25 +04:00
|
|
|
|
|
|
|
mod private {
|
|
|
|
/// [core::str::FromStr]
|
|
|
|
pub struct ReachableButNotExported;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn foo() -> private::ReachableButNotExported {
|
|
|
|
private::ReachableButNotExported
|
|
|
|
}
|