File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 1+ #![ feature( use_extern_macros) ]
2+ trait Foo { }
3+ #[ derive( Foo :: Anything ) ] //~ ERROR failed to resolve: partially resolved path in a derive macro
4+ struct S ;
Original file line number Diff line number Diff line change 1+ error[E0433]: failed to resolve: partially resolved path in a derive macro
2+ --> $DIR/issue-46101.rs:3:10
3+ |
4+ LL | #[derive(Foo::Anything)] //~ ERROR failed to resolve: partially resolved path in a derive macro
5+ | ^^^^^^^^^^^^^ partially resolved path in a derive macro
6+
7+ error[E0601]: `main` function not found in crate `issue_46101`
8+ |
9+ = note: consider adding a `main` function to `$DIR/issue-46101.rs`
10+
11+ error: aborting due to 2 previous errors
12+
13+ Some errors occurred: E0433, E0601.
14+ For more information about an error, try `rustc --explain E0433`.
You can’t perform that action at this time.
0 commit comments