rust/tests/ui/imports/issue-109343.rs

11 lines
141 B
Rust
Raw Normal View History

#![crate_type = "lib"]
pub mod f {}
pub use unresolved::f;
//~^ ERROR unresolved import `unresolved`
/// [g]
pub use f as g;
fn main() {}