rust/src/libsyntax_ext
Eduard-Mihai Burtescu a6788d0ba8 Rollup merge of #37198 - jseyfried:future_proof_macros_11, r=nrc
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
2016-10-19 08:00:00 +03:00
..
deriving Use the macro namespace for custom derives. 2016-10-15 22:55:19 +00:00
asm.rs Rollup merge of #37161 - nnethercote:no-cfg-cloning, r=nrc 2016-10-19 07:59:59 +03:00
Cargo.toml rustc: Rename rustc_macro to proc_macro 2016-10-06 11:07:23 -07:00
cfg.rs run rustfmt on libsyntax_ext folder 2016-08-12 09:40:12 +05:30
concat.rs run rustfmt on libsyntax_ext folder 2016-08-12 09:40:12 +05:30
concat_idents.rs make emit_feature_err take a ParseSess 2016-09-26 07:07:41 +02:00
env.rs run rustfmt on libsyntax_ext folder 2016-08-12 09:40:12 +05:30
format.rs libsyntax: clearer names for some AST parts 2016-09-28 22:31:18 +02:00
lib.rs Merge branch 'persistent_macro_scopes' into cleanup_expanded_macro_use_scopes 2016-10-11 03:41:18 +00:00
log_syntax.rs make emit_feature_err take a ParseSess 2016-09-26 07:07:41 +02:00
proc_macro_registrar.rs rustc: Rename rustc_macro to proc_macro 2016-10-06 11:07:23 -07:00
trace_macros.rs make emit_feature_err take a ParseSess 2016-09-26 07:07:41 +02:00