summary refs log tree commit diff
path: root/src/libsyntax/ext/expand.rs
AgeCommit message (Expand)AuthorLines
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
2019-06-06syntax: Switch function parameter order in `TokenTree::token`Vadim Petrochenkov-2/+2
2019-06-06syntax: Use `Token` in `TokenTree::Token`Vadim Petrochenkov-1/+1
2019-06-06Always use token kinds through `token` module rather than `Token` typeVadim Petrochenkov-2/+2
2019-05-27Avoid unnecessary internings.Nicholas Nethercote-1/+1
2019-05-22Eliminate unnecessary `Ident::with_empty_ctxt`sVadim Petrochenkov-4/+4
2019-05-22Simplify use of keyword symbolsVadim Petrochenkov-9/+9
2019-05-21Move `edition` outside the hygiene lock and avoid accessing itJohn Kåre Alsaker-4/+4
2019-05-17Avoid unnecessary interning in `Ident::from_str()` calls.Nicholas Nethercote-4/+4
2019-05-13Remove the equality operation between `Symbol` and strings.Nicholas Nethercote-4/+4
2019-05-13Pass a `Symbol` to `check_name`, `emit_feature_err`, and related functions.Nicholas Nethercote-15/+15
2019-03-16Refactor away `NestedMetaItemKind`Vadim Petrochenkov-7/+7
2019-03-16Rename `MetaItem::ident` to `MetaItem::path`Vadim Petrochenkov-1/+1
2019-03-16syntax_ext: Validate `#[proc_macro_derive]` input betterVadim Petrochenkov-2/+2
2019-02-23Rollup merge of #58476 - nnethercote:rm-LazyTokenStream, r=petrochenkovMazdak Farrokhzad-2/+3
2019-02-20cleanup macro after 2018 transitionAleksey Kladov-4/+2
2019-02-18Remove `LazyTokenStream`.Nicholas Nethercote-2/+3
2019-02-13Rollup merge of #58273 - taiki-e:rename-dependency, r=matthewjasperMazdak Farrokhzad-1/+1
2019-02-12Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnikbors-1/+1
2019-02-13Cleanup importsTaiki Endo-1/+1
2019-02-13Rename rustc_errors dependency in rust 2018 cratesTaiki Endo-1/+1
2019-02-11Use `Rc<[Symbol]>` instead of `Vec<Symbol>` to reduce # of allocsOliver Scherer-5/+5
2019-02-11Fixup RustcDeserialize internal featuresOliver Scherer-0/+1
2019-02-11Rename the `exp` field to mirror its usesOliver Scherer-1/+1
2019-02-11Require a list of features to allow in `allow_internal_unstable`Oliver Scherer-11/+16
2019-02-10rustc: doc commentsAlexander Regueiro-1/+1
2019-02-07libsyntax => 2018Taiki Endo-24/+25
2019-02-06Overhaul `syntax::fold::Folder`.Nicholas Nethercote-139/+151
2019-02-05Various improvements in `Folder` impls.Nicholas Nethercote-4/+1
2019-02-05Simplify `fold_attribute`.Nicholas Nethercote-5/+3
2019-02-05Remove some unnecessary `ast::` and `fold::` qualifiers.Nicholas Nethercote-4/+3
2019-01-28Rollup merge of #57915 - petrochenkov:notto-disu, r=zackmdavisMazdak Farrokhzad-4/+3
2019-01-26remove `_with_applicability` from suggestion fnsAndy Russell-3/+3
2019-01-26Pretty print `$crate` as `crate` or `crate_name` in more casesVadim Petrochenkov-4/+3
2018-12-28Auto merge of #57155 - petrochenkov:dcrate3, r=dtolnaybors-0/+4