mirror of
https://git.proxmox.com/git/rustc
synced 2025-05-28 17:14:03 +00:00
13 lines
230 B
Rust
13 lines
230 B
Rust
// testing whether the lookup mechanism picks up types
|
|
// defined in the outside crate
|
|
|
|
#![crate_type="lib"]
|
|
|
|
mod foo {
|
|
// should not be suggested => foo is private
|
|
pub trait T {}
|
|
}
|
|
|
|
// should be suggested
|
|
pub use foo::T;
|