File tree Expand file tree Collapse file tree 3 files changed +22
-3
lines changed Expand file tree Collapse file tree 3 files changed +22
-3
lines changed Original file line number Diff line number Diff line change 11error[E0603]: derive macro `Embed` is private
2- --> $DIR/same-res-ambigious.rs:8 :28
2+ --> $DIR/same-res-ambigious.rs:7 :28
33 |
44LL | #[derive(ambigious_extern::Embed)]
55 | ^^^^^ private derive macro
Original file line number Diff line number Diff line change 1+ error[E0603]: derive macro `Embed` is private
2+ --> $DIR/same-res-ambigious.rs:7:28
3+ |
4+ LL | #[derive(ambigious_extern::Embed)]
5+ | ^^^^^ private derive macro
6+ |
7+ note: the derive macro `Embed` is defined here
8+ --> $DIR/auxiliary/same-res-ambigious-extern.rs:11:9
9+ |
10+ LL | pub use RustEmbed as Embed;
11+ | ^^^^^^^^^
12+ help: import `Embed` directly
13+ |
14+ LL - #[derive(ambigious_extern::Embed)]
15+ LL + #[derive(same_res_ambigious_extern_macro::RustEmbed)]
16+ |
17+
18+ error: aborting due to 1 previous error
19+
20+ For more information about this error, try `rustc --explain E0603`.
Original file line number Diff line number Diff line change 11//@ edition: 2018
22//@ revisions: fail pass
3- //@[pass] check-pass
43//@[pass] aux-crate: ambigious_extern=same-res-ambigious-extern.rs
54//@[fail] aux-crate: ambigious_extern=same-res-ambigious-extern-fail.rs
65// see https://github.com/rust-lang/rust/pull/147196
76
8- #[ derive( ambigious_extern:: Embed ) ] //[fail] ~ ERROR: derive macro `Embed` is private
7+ #[ derive( ambigious_extern:: Embed ) ] //~ ERROR: derive macro `Embed` is private
98struct Foo { }
109
1110fn main ( ) { }
You can’t perform that action at this time.
0 commit comments