You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.
#[macro_use]externcrate mashup;mashup!{
sub1["y"] = Y y;
}mashup!{
sub2["z"] = Z z;
}sub1!{struct"y";
}sub2!{struct"z";
}fnmain(){}
error[E0428]: the name `ProcMacroHack` is defined multiple times
--> src/main.rs:4:1
|
4 | / mashup! {
5 | | sub1["y"] = Y y;
6 | | }
| |_^ `ProcMacroHack` redefined here
7 |
8 | / mashup! {
9 | | sub2["z"] = Z z;
10 | | }
| |_- previous definition of the type `ProcMacroHack` here
|
= note: `ProcMacroHack` must be defined only once in the type namespace of this module
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: