rust/tests/ui/rust-2018/uniform-paths/deadlock.rs

9 lines
230 B
Rust
Raw Normal View History

// 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() {}