rust/src/librustc_resolve
Corey Farwell 880f03b28c 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
2017-03-22 19:30:23 -04:00
..
build_reduced_graph.rs Check for conflicts between macros 1.0 exports (#[macro_export], #[macro_reexport]) 2017-03-21 16:23:18 -04:00
Cargo.toml
check_unused.rs Warn on unused #[macro_use] imports. 2017-01-22 01:31:00 +00:00
diagnostics.rs rustc: store type parameter defaults outside of ty::Generics. 2017-02-25 17:07:59 +02:00
lib.rs Auto merge of #40346 - jseyfried:path_and_tokenstream_attr, r=nrc 2017-03-19 10:56:08 +00:00
macros.rs Rollup merge of #40509 - jseyfried:duplicate_check_macro_exports, r=nrc 2017-03-22 19:30:23 -04:00
resolve_imports.rs Check for conflicts between macros 1.0 exports (#[macro_export], #[macro_reexport]) 2017-03-21 16:23:18 -04:00