Closed
Description
Given the following code:
macro_rules! parent {
() => {
#[macro_export]
macro_rules! child {
() => {}
}
}
}
parent!();
crate::child!();
The current output is:
Compiling playground v0.0.1 (/playground)
error: macro-expanded `macro_export` macros from the current crate cannot be referred to by absolute paths
--> src/lib.rs:11:1
|
11 | crate::child!();
| ^^^^^^^^^^^^
|
= note: `#[deny(macro_expanded_macro_exports_accessed_by_absolute_paths)]` on by default
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #52234 <https://github.com/rust-lang/rust/issues/52234>
Going to #52234 at the link provided gives a 404.