1 error[E0433]: failed to resolve: partially resolved path in a derive macro
2 --> $DIR/issue-46101.rs:3:10
4 LL | #[derive(Foo::Anything)]
5 | ^^^^^^^^^^^^^ partially resolved path in a derive macro
7 error[E0601]: `main` function not found in crate `issue_46101`
9 = note: consider adding a `main` function to `$DIR/issue-46101.rs`
11 error: aborting due to 2 previous errors
13 Some errors occurred: E0433, E0601.
14 For more information about an error, try `rustc --explain E0433`.