mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-02 13:07:37 +00:00
9 lines
253 B
Rust
9 lines
253 B
Rust
![]() |
// If multiple `extern crate` resolutions fail each of them should produce an error
|
||
|
extern crate bar; //~ ERROR can't find crate for `bar`
|
||
|
extern crate foo; //~ ERROR can't find crate for `foo`
|
||
|
|
||
|
fn main() {
|
||
|
foo::something();
|
||
|
bar::something();
|
||
|
}
|