fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
604 B21 linesraw
1error: 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   |
4LL | extern crate foo;
5   | ^^^^^^^^^^^^^^^^^
6
7error: file name should be lib*.rlib or lib*.so
8  --> $DIR/issue-104621-extern-bad-file.rs:4:1
9   |
10LL | extern crate foo;
11   | ^^^^^^^^^^^^^^^^^
12
13error[E0463]: can't find crate for `foo`
14  --> $DIR/issue-104621-extern-bad-file.rs:4:1
15   |
16LL | extern crate foo;
17   | ^^^^^^^^^^^^^^^^^ can't find crate
18
19error: aborting due to 3 previous errors
20
21For more information about this error, try `rustc --explain E0463`.