Skip to content

Commit

Permalink
will this break windows again?
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Mar 20, 2024
1 parent 2d8b69a commit dda7650
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 7 deletions.
6 changes: 5 additions & 1 deletion tests/integrations/basic-bin/tests/actual_tests/foomp.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
//@normalize-stderr-test: "(file name should be).*" -> "$1"

use basic_bin::add;
//~^ ERROR: unresolved import `basic_bin`
//~^ ERROR: can't find crate for `basic_bin`
//~| ERROR: file name should be
//~| ERROR: extern location for basic_bin is of an unknown type

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

error: aborting due to 1 previous error
error: file name should be
--> tests/actual_tests/foomp.rs:3:5
|
3 | use basic_bin::add;
| ^^^^^^^^^

error[E0463]: can't find crate for `basic_bin`
--> tests/actual_tests/foomp.rs:3:5
|
3 | use basic_bin::add;
| ^^^^^^^^^ can't find crate

error: aborting due to 3 previous errors

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

0 comments on commit dda7650

Please sign in to comment.