macros 1.1: future proofing and cleanup This PR - uses the macro namespace for custom derives (instead of a dedicated custom derive namespace), - relaxes the shadowing rules for `#[macro_use]`-imported custom derives to match the shadowing rules for ordinary `#[macro_use]`-imported macros, and - treats custom derive `extern crate`s like empty modules so that we can eventually allow, for example, `extern crate serde_derive; use serde_derive::Serialize;` backwards compatibly. r? @alexcrichton |
||
|---|---|---|
| .. | ||
| build_reduced_graph.rs | ||
| Cargo.toml | ||
| check_unused.rs | ||
| diagnostics.rs | ||
| lib.rs | ||
| macros.rs | ||
| resolve_imports.rs | ||