mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-30 21:48:28 +00:00
13 lines
217 B
Rust
13 lines
217 B
Rust
//@ check-pass
|
|
mod foo {
|
|
struct Priv;
|
|
mod bar {
|
|
use crate::foo::Priv;
|
|
pub(super) fn f(_: Priv) {}
|
|
pub(crate) fn g(_: Priv) {}
|
|
pub(crate) fn h(_: Priv) {}
|
|
}
|
|
}
|
|
|
|
fn main() { }
|