rust/tests/ui/rust-2018/uniform-paths/deadlock.rs
2024-02-16 20:02:50 +00:00

9 lines
232 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() {}