rust/tests/ui/rust-2018/uniform-paths/deadlock.rs
2023-01-11 09:32:08 +00:00

9 lines
230 B
Rust

// edition:2018
// compile-flags:--extern foo --extern bar
use bar::foo; //~ ERROR can't find crate for `bar`
use foo::bar; //~ ERROR can't find crate for `foo`
//~^^ ERROR unresolved imports `bar::foo`, `foo::bar`
fn main() {}