mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-01 12:37:37 +00:00
19 lines
341 B
Rust
19 lines
341 B
Rust
![]() |
#![crate_type = "lib"]
|
||
|
|
||
|
pub mod public {
|
||
|
use private_import;
|
||
|
|
||
|
// should not be suggested since it is private
|
||
|
struct Foo;
|
||
|
|
||
|
mod private_module {
|
||
|
// should not be suggested since it is private
|
||
|
pub struct Foo;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
mod private_import {
|
||
|
// should not be suggested since it is private
|
||
|
pub struct Foo;
|
||
|
}
|