about summary refs log tree commit diff
path: root/src/libsyntax/ext/expand.rs
AgeCommit message (Expand)AuthorLines
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
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-01Convert more usages overChris Gregory-1/+1
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-3/+3
2019-06-23Fix meta-variable binding errors in macrosJulien Cretin-6/+6
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-145/+35
2019-06-18rustc: remove 'x: 'y bounds (except from comments/strings).Eduard-Mihai Burtescu-2/+2
2019-06-18resolve/expand: Move expansion info setting to a single earlier pointVadim Petrochenkov-29/+3
2019-06-18syntax: Factor out common fields from `SyntaxExtension` variantsVadim Petrochenkov-131/+47
2019-06-12Auto merge of #60669 - c410-f3r:attrs-fn, r=petrochenkovbors-0/+5
2019-06-10syntax: Rename variants of `SyntaxExtension` for consistencyVadim Petrochenkov-12/+14
2019-06-10syntax: Remove `SyntaxExtension::DeclMacro`Vadim Petrochenkov-10/+1
2019-06-10syntax: Use `MultiItemModifier` for built-in derivesVadim Petrochenkov-20/+20
2019-06-10syntax: Remove `SyntaxExtension::MultiDecorator` and `MultiItemDecorator`Vadim Petrochenkov-10/+1
2019-06-10syntax: Remove `SyntaxExtension::IdentTT` and `IdentMacroExpander`Vadim Petrochenkov-22/+0
2019-06-09Allow attributes in formal function parametersCaio-0/+5
2019-06-07parser: `self.span` -> `self.token.span`Vadim Petrochenkov-1/+1