]> git.lizzy.rs Git - rust.git/blob - tests/ui/errors/issue-104621-extern-bad-file.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / ui / errors / issue-104621-extern-bad-file.rs
1 // compile-flags: --extern foo={{src-base}}/errors/issue-104621-extern-bad-file.rs
2 // only-linux
3
4 extern crate foo;
5 //~^ ERROR extern location for foo is of an unknown type
6 //~| ERROR file name should be lib*.rlib or lib*.so
7 //~| ERROR can't find crate for `foo` [E0463]
8 fn main() {}