diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-03-22 19:30:23 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-22 19:30:23 -0400 |
| commit | 880f03b28c5148ae6bbc5529e9fc48bccd9b54f4 (patch) | |
| tree | c89fc5b3068349d561984ce4f33333af66e82612 /src/rustllvm/RustWrapper.cpp | |
| parent | 8c4f2c64c6759a82f143e23964a46a65c67509c9 (diff) | |
| parent | 678e882ce2fdafdfa886cc23a288709140cfd125 (diff) | |
| download | rust-880f03b28c5148ae6bbc5529e9fc48bccd9b54f4.tar.gz rust-880f03b28c5148ae6bbc5529e9fc48bccd9b54f4.zip | |
Rollup merge of #40509 - jseyfried:duplicate_check_macro_exports, r=nrc
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
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
