about summary refs log tree commit diff
path: root/src/libsyntax/ext/expand.rs
AgeCommit message (Expand)AuthorLines
2019-08-27resolve: Block expansion of a derive container until all its derives are reso...Vadim Petrochenkov-48/+66
2019-08-25Rollup merge of #63854 - c410-f3r:attrs-visit, r=petrochenkovMazdak Farrokhzad-3/+7
2019-08-24Modifies how Arg, Arm, Field, FieldPattern and Variant are visitedCaio-3/+7
2019-08-23hygiene: Require passing transparency explicitly to `apply_mark`Vadim Petrochenkov-14/+0
2019-08-23Audit uses of `apply_mark` in built-in macrosVadim Petrochenkov-1/+0
2019-08-21resolve/expand: Rename some things for clarity and add commentsVadim Petrochenkov-2/+4
2019-08-21expand: Keep the correct current expansion ID for eager expansionsVadim Petrochenkov-1/+0
2019-08-17resolve/expand: Rename some things for clarityVadim Petrochenkov-11/+14
2019-08-16Rollup merge of #63525 - matklad:centraliza-file-loading, r=petrochenkovMazdak Farrokhzad-8/+5
2019-08-15hygiene: `ExpnInfo` -> `ExpnData`Vadim Petrochenkov-10/+10
2019-08-15hygiene: Merge `ExpnInfo` and `InternalExpnData`Vadim Petrochenkov-6/+9
2019-08-15hygiene: Remove `Option`s from functions returning `ExpnInfo`Vadim Petrochenkov-1/+1
2019-08-15`Ident::with_empty_ctxt` -> `Ident::with_dummy_span`Vadim Petrochenkov-4/+4
2019-08-15syntax_pos: `NO_EXPANSION`/`SyntaxContext::empty()` -> `SyntaxContext::root()`Vadim Petrochenkov-1/+1
2019-08-15Remove `Spanned` from `ast::Mac`Vadim Petrochenkov-6/+5
2019-08-15Remove `Spanned` from `mk_name_value_item_str` and `expr_to_spanned_string`Vadim Petrochenkov-3/+5
2019-08-15Make sure that all file loading happens via SourceMapAleksey Kladov-8/+5
2019-08-14expand: Unimplement `MutVisitor` on `MacroExpander`Vadim Petrochenkov-13/+1
2019-08-14expand: `expand_fragment` -> `fully_expand_fragment`Vadim Petrochenkov-6/+6
2019-08-09review comments: use structured suggestionEsteban Küber-15/+2
2019-08-09More explicit diagnostic when using a `vec![]` in a patternEsteban Küber-6/+22
2019-08-05Drop span argument from mk_list_itemMark Rousskov-2/+2
2019-08-05Auto merge of #63248 - petrochenkov:nomarker, r=matthewjasperbors-15/+4
2019-08-04Auto merge of #62816 - estebank:type-ascription-macros, r=petrochenkovbors-2/+7
2019-08-03Move special treatment of `derive(Copy, PartialEq, Eq)` from expansion infras...Vadim Petrochenkov-15/+4
2019-07-31Remove AttrId from Attribute constructorsMark Rousskov-4/+8
2019-07-31Unify spanned and non-spanned Attribute ctorsMark Rousskov-2/+2
2019-07-30Point at type ascription before macro invocation on expansion parse errorEsteban Küber-2/+7
2019-07-27Move proc macro server into libsyntaxVadim Petrochenkov-1/+1
2019-07-25Rollup merge of #60938 - jonas-schievink:doc-include-paths, r=petrochenkovMazdak Farrokhzad-5/+1
2019-07-23Normalize use of backticks in compiler messages for libsyntax/*Samy Kacimi-1/+1
2019-07-23Make path::resolve a method on ExtCtxtJonas Schievink-2/+1
2019-07-23Make #[doc(include)] paths behave like other pathsJonas Schievink-5/+2
2019-07-19Adjust other names after the `Mark` renamingVadim Petrochenkov-14/+14
2019-07-19libsyntax: Remove `Mark` into `ExpnId`Vadim Petrochenkov-6/+6
2019-07-13Detect `fn` with a body in an `extern` blockEsteban Küber-1/+1
2019-07-11expand: Move "derive containers" into a separate `InvocationKind` variantVadim Petrochenkov-14/+25
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-2/+2
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-58/+53
2019-07-11syntax: Make def-site span mandatory in ExpnInfo/MacroBacktrace/DiagnosticSpa...Vadim Petrochenkov-1/+1
2019-07-11expand: Get rid of `resolve_macro_path`Vadim Petrochenkov-11/+11
2019-07-11Rename some things in `syntax_pos/hygiene`Vadim Petrochenkov-1/+1
2019-07-09Resolve `$crate` in all hygienic contexts for pretty-pringingVadim Petrochenkov-1/+1
2019-07-07syntax: Migrate built-in macros to the regular stability checkingVadim Petrochenkov-28/+8
2019-07-07resolve/expand: Move macro stability checking to an earlier pointVadim Petrochenkov-40/+9
2019-07-07syntax: Remove `NodeId` from `SyntaxExtension`Vadim Petrochenkov-3/+2