-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #204 from bjorn3/fix_proc_macro_deps
Support proc macro test dependencies
- Loading branch information
Showing
11 changed files
with
60 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 18 additions & 6 deletions
24
tests/integrations/basic-bin/tests/actual_tests/foomp.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
//@run | ||
|
||
#[macro_use] | ||
extern crate serde_derive; | ||
|
||
fn main() {} |
10 changes: 10 additions & 0 deletions
10
tests/integrations/basic/tests/actual_tests/dep_derive.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
warning: unused `#[macro_use]` import | ||
--> tests/actual_tests/dep_derive.rs:3:1 | ||
| | ||
3 | #[macro_use] | ||
| ^^^^^^^^^^^^ | ||
| | ||
= note: `#[warn(unused_imports)]` on by default | ||
|
||
warning: 1 warning emitted | ||
|