]> git.lizzy.rs Git - rust.git/blob - src/test/ui/errors/issue-104621-extern-bad-file.stderr
Rollup merge of #105955 - Nilstrieb:no-trivial-opt-wrappers-we-have-field-accesses...
[rust.git] / src / test / ui / errors / issue-104621-extern-bad-file.stderr
1 error: extern location for foo is of an unknown type: $DIR/issue-104621-extern-bad-file.rs
2   --> $DIR/issue-104621-extern-bad-file.rs:4:1
3    |
4 LL | extern crate foo;
5    | ^^^^^^^^^^^^^^^^^
6
7 error: file name should be lib*.rlib or lib*.so
8   --> $DIR/issue-104621-extern-bad-file.rs:4:1
9    |
10 LL | extern crate foo;
11    | ^^^^^^^^^^^^^^^^^
12
13 error[E0463]: can't find crate for `foo`
14   --> $DIR/issue-104621-extern-bad-file.rs:4:1
15    |
16 LL | extern crate foo;
17    | ^^^^^^^^^^^^^^^^^ can't find crate
18
19 error: aborting due to 3 previous errors
20
21 For more information about this error, try `rustc --explain E0463`.