rust/tests/ui/resolve/auxiliary/issue-80079.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
341 B
Rust
Raw Normal View History

#![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;
}