Skip to content

Commit dda7650

Browse files
committed
will this break windows again?
1 parent 2d8b69a commit dda7650

File tree

2 files changed

+23
-7
lines changed

2 files changed

+23
-7
lines changed

tests/integrations/basic-bin/tests/actual_tests/foomp.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
//@normalize-stderr-test: "(file name should be).*" -> "$1"
2+
13
use basic_bin::add;
2-
//~^ ERROR: unresolved import `basic_bin`
4+
//~^ ERROR: can't find crate for `basic_bin`
5+
//~| ERROR: file name should be
6+
//~| ERROR: extern location for basic_bin is of an unknown type
37

48
fn main() {
59
add("42", 3);
Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,21 @@
1-
error[E0432]: unresolved import `basic_bin`
2-
--> tests/actual_tests/foomp.rs:1:5
1+
error: extern location for basic_bin is of an unknown type: $DIR/tests/integrations/basic-bin/../../../target/$TMP/$TRIPLE/debug/basic_bin
2+
--> tests/actual_tests/foomp.rs:3:5
33
|
4-
1 | use basic_bin::add;
5-
| ^^^^^^^^^ use of undeclared crate or module `basic_bin`
4+
3 | use basic_bin::add;
5+
| ^^^^^^^^^
66

7-
error: aborting due to 1 previous error
7+
error: file name should be
8+
--> tests/actual_tests/foomp.rs:3:5
9+
|
10+
3 | use basic_bin::add;
11+
| ^^^^^^^^^
12+
13+
error[E0463]: can't find crate for `basic_bin`
14+
--> tests/actual_tests/foomp.rs:3:5
15+
|
16+
3 | use basic_bin::add;
17+
| ^^^^^^^^^ can't find crate
18+
19+
error: aborting due to 3 previous errors
820

9-
For more information about this error, try `rustc --explain E0432`.
21+
For more information about this error, try `rustc --explain E0463`.

0 commit comments

Comments
 (0)