about summary refs log tree commit diff
path: root/src/libsyntax/ext
AgeCommit message (Expand)AuthorLines
2019-07-11expand: Merge `expand_{bang,attr,derive}_invoc` into a single functionVadim Petrochenkov-116/+78
2019-07-11expand: It's always possible to create a dummy AST fragmentVadim Petrochenkov-44/+39
2019-07-11hygiene: Make sure each `Mark` has an associated expansion infoVadim Petrochenkov-2/+12
2019-07-11hygiene: Introduce a helper method for creating new expansionsVadim Petrochenkov-7/+6
2019-07-11expand: Do not overwrite existing `ExpnInfo` when injecting derive markersVadim Petrochenkov-3/+4
2019-07-11resolve/expand: Catch macro kind mismatches early in resolveVadim Petrochenkov-34/+5
2019-07-11resolve/expand: `resolve_macro_invocation` no longer returns determinate errorsVadim Petrochenkov-71/+57
2019-07-11resolve: Make proc macro stubs less stubbyVadim Petrochenkov-1/+21
2019-07-11hygiene: Reuse `MacroKind` in `ExpnKind`Vadim Petrochenkov-15/+6
2019-07-11syntax: Make def-site span mandatory in ExpnInfo/MacroBacktrace/DiagnosticSpa...Vadim Petrochenkov-12/+8
2019-07-11expand: Get rid of `resolve_macro_path`Vadim Petrochenkov-14/+11
2019-07-11Rename some things in `syntax_pos/hygiene`Vadim Petrochenkov-10/+10
2019-07-11Move `MacroKind` into `libsyntax_pos`Vadim Petrochenkov-28/+1
2019-07-11Remove `MacroKind::ProcMacroStub`Vadim Petrochenkov-3/+0
2019-07-09Resolve `$crate` in all hygienic contexts for pretty-pringingVadim Petrochenkov-2/+2
2019-07-07syntax: Pre-intern names of all built-in macrosVadim Petrochenkov-3/+3
2019-07-07syntax: Migrate built-in macros to the regular stability checkingVadim Petrochenkov-39/+9
2019-07-07Support deprecation checking for macrosVadim Petrochenkov-2/+6
2019-07-07syntax: Keep full `Stability` in `SyntaxExtension`Vadim Petrochenkov-17/+6
2019-07-07resolve/expand: Move macro stability checking to an earlier pointVadim Petrochenkov-42/+9
2019-07-07syntax: Remove `NodeId` from `SyntaxExtension`Vadim Petrochenkov-8/+7
2019-07-06privacy: Only opaque macros leak private thingsVadim Petrochenkov-13/+14
2019-07-06`#[rustc_transparent_macro]` -> `#[rustc_macro_transparency = ...]`Vadim Petrochenkov-7/+11
2019-07-05Rollup merge of #62133 - petrochenkov:norustc, r=eddybMazdak Farrokhzad-3/+1
2019-07-04Rollup merge of #62258 - petrochenkov:idclean, r=CentrilMazdak Farrokhzad-33/+12
2019-07-04Rollup merge of #62249 - czipperz:use-mem-take-instead-of-replace-default, r=...Mazdak Farrokhzad-2/+2
2019-07-03Remove needless lifetimesJeremy Stucki-1/+1
2019-07-01Convert more usages overChris Gregory-2/+2
2019-07-01syntax: Unsupport `foo! bar { ... }` macros in the parserVadim Petrochenkov-33/+12
2019-06-30Make sure `#[rustc_doc_only_macro]` and other rustc attributes are registeredVadim Petrochenkov-3/+1
2019-06-26Fix clippy::redundant_field_namesIgor Matuszewski-8/+8
2019-06-23Auto merge of #62070 - ia0:rustfmt, r=petrochenkovbors-235/+273
2019-06-23Auto merge of #60861 - Centril:let-chains-ast-intro, r=petrochenkovbors-1/+3
2019-06-23Run rustfmtJulien Cretin-235/+273
2019-06-23Rollup merge of #62068 - ia0:fix_meta_var, r=petrochenkovMazdak Farrokhzad-6/+6
2019-06-23let_chains: note re. back-compat wrt. expr beginning.Mazdak Farrokhzad-1/+3
2019-06-23Fix meta-variable binding errors in macrosJulien Cretin-6/+6
2019-06-23let_chains: readd kw::let to ident_can_begin_expr.Mazdak Farrokhzad-1/+1
2019-06-22Lint empty 'derive()' as unused attribute.Mazdak Farrokhzad-4/+0
2019-06-19Rollup merge of #61547 - petrochenkov:cfgen, r=CentrilMazdak Farrokhzad-3/+3
2019-06-19Support `cfg` and `cfg_attr` on generic parametersVadim Petrochenkov-3/+3
2019-06-19Rollup merge of #61898 - petrochenkov:sekind, r=eddybMazdak Farrokhzad-245/+134
2019-06-18rustc: remove 'x: 'y bounds (except from comments/strings).Eduard-Mihai Burtescu-5/+5
2019-06-18resolve/expand: Move expansion info setting to a single earlier pointVadim Petrochenkov-30/+4
2019-06-18syntax: Move `default_transparency` into `ExpnInfo`Vadim Petrochenkov-1/+2
2019-06-18syntax: Introduce `default`/`with_unstable` constructors for `ExpnInfo`Vadim Petrochenkov-9/+4
2019-06-18syntax: Remove `DummyResolver`Vadim Petrochenkov-25/+0
2019-06-18syntax: Factor out common fields from `SyntaxExtension` variantsVadim Petrochenkov-198/+142
2019-06-16Rollup merge of #61866 - sinkuu:redundant_clone, r=petrochenkovMazdak Farrokhzad-2/+3
2019-06-15Rollup merge of #61813 - matthewjasper:remove-unnecessary-symbol-ops, r=petro...Mazdak Farrokhzad-11/+11