File tree Expand file tree Collapse file tree 2 files changed +23
-7
lines changed
tests/integrations/basic-bin/tests/actual_tests Expand file tree Collapse file tree 2 files changed +23
-7
lines changed Original file line number Diff line number Diff line change
1
+ //@normalize-stderr-test: "(file name should be).*" -> "$1"
2
+
1
3
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
3
7
4
8
fn main ( ) {
5
9
add ( "42" , 3 ) ;
Original file line number Diff line number Diff line change 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
3
3
|
4
- 1 | use basic_bin::add;
5
- | ^^^^^^^^^ use of undeclared crate or module `basic_bin`
4
+ 3 | use basic_bin::add;
5
+ | ^^^^^^^^^
6
6
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
8
20
9
- For more information about this error, try `rustc --explain E0432 `.
21
+ For more information about this error, try `rustc --explain E0463 `.
You can’t perform that action at this time.
0 commit comments