]> git.lizzy.rs Git - rust.git/blob - tests/ui/errors/issue-104621-extern-bad-file.rs
Rollup merge of #106148 - chenyukang:yukang/fix-105061-unused, r=lcnr
[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() {}