Derive breaks visibility order #61520
Labels
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
A-resolve
Area: Name/path resolution done by `rustc_resolve` specifically
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-lang
Relevant to the language team
Uh oh!
There was an error while loading. Please reload this page.
Compilation of the following example depends on the derive existence. It will compile without it and will break with it. Also it will work with derive if
use crate::b::*;
is replaced byuse crate::b::{*, A};
insidec
mod.Playground:
https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=5e896cad4b839beefe6ff7cc5bf491f0
The text was updated successfully, but these errors were encountered: