forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
18 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#![feature(use_extern_macros)] | ||
trait Foo {} | ||
#[derive(Foo::Anything)] //~ ERROR failed to resolve: partially resolved path in a derive macro | ||
struct S; |
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,14 @@ | ||
error[E0433]: failed to resolve: partially resolved path in a derive macro | ||
--> $DIR/issue-46101.rs:3:10 | ||
| | ||
LL | #[derive(Foo::Anything)] //~ ERROR failed to resolve: partially resolved path in a derive macro | ||
| ^^^^^^^^^^^^^ partially resolved path in a derive macro | ||
|
||
error[E0601]: `main` function not found in crate `issue_46101` | ||
| | ||
= note: consider adding a `main` function to `$DIR/issue-46101.rs` | ||
|
||
error: aborting due to 2 previous errors | ||
|
||
Some errors occurred: E0433, E0601. | ||
For more information about an error, try `rustc --explain E0433`. |