880f03b28c
Forbid conflicts between macros 1.0 exports and macros 2.0 exports This PR forbids for conflicts between `#[macro_export]`/`#[macro_reexport]` macro exports and `pub use` macro exports. For example, ```rust // crate A: pub use macros::foo; //^ This is allowed today, will be forbidden by this PR. // crate B: extern crate A; // This triggers a confusing error today. use A::foo; // This could refer to refer to either macro export in crate A. ``` r? @nrc |
||
---|---|---|
.. | ||
build_reduced_graph.rs | ||
Cargo.toml | ||
check_unused.rs | ||
diagnostics.rs | ||
lib.rs | ||
macros.rs | ||
resolve_imports.rs |