summary refs log tree commit diff
path: root/src/libsyntax/attr/mod.rs
AgeCommit message (Expand)AuthorLines
2019-06-12Auto merge of #60669 - c410-f3r:attrs-fn, r=petrochenkovbors-1/+1
2019-06-09Allow attributes in formal function parametersCaio-1/+1
2019-06-08syntax: Move most of the `TokenKind` methods to `Token`Vadim Petrochenkov-3/+2
2019-06-07parser: `self.span` -> `self.token.span`Vadim Petrochenkov-2/+2
2019-06-06Some code cleanup and tidy/test fixesVadim Petrochenkov-3/+6
2019-06-06syntax: Switch function parameter order in `TokenTree::token`Vadim Petrochenkov-5/+5
2019-06-06syntax: Use `Token` in some more placesVadim Petrochenkov-2/+2
2019-06-06syntax: Remove duplicate span from `token::Ident`Vadim Petrochenkov-5/+5
2019-06-06syntax: Add some helper methods to `Token`Vadim Petrochenkov-2/+2
2019-06-06syntax: Use `Token` in `TokenTree::Token`Vadim Petrochenkov-19/+18
2019-06-06syntax: Rename `Token` into `TokenKind`Vadim Petrochenkov-2/+2
2019-06-06Always use token kinds through `token` module rather than `Token` typeVadim Petrochenkov-11/+11
2019-05-24Tweak macro parse errors when reaching EOF during macro call parseEsteban Küber-1/+8
2019-05-23syntax: Return named errors from literal parsing functionsVadim Petrochenkov-2/+2
2019-05-22Restore the old behavior of the rustdoc keyword check + Fix rebaseVadim Petrochenkov-2/+2
2019-05-22Simplify use of keyword symbolsVadim Petrochenkov-4/+4
2019-05-17Avoid unnecessary interning in `Ident::from_str()` calls.Nicholas Nethercote-3/+3
2019-05-13Return a `Symbol` from `name_or_empty` functions.Nicholas Nethercote-7/+7
2019-05-13Pass a `Symbol` to `check_name`, `emit_feature_err`, and related functions.Nicholas Nethercote-17/+8
2019-05-11Move literal parsing code into a separate fileVadim Petrochenkov-99/+0
2019-05-11Simplify conversions between tokens and semantic literalsVadim Petrochenkov-46/+58
2019-05-11Eliminate `comments::Literal`Vadim Petrochenkov-3/+4
2019-05-11Keep the original token in `ast::Lit`Vadim Petrochenkov-25/+37
2019-05-11Turn `ast::Lit` into a structVadim Petrochenkov-6/+6
2019-04-15Make check_name genericJohn Kåre Alsaker-24/+12
2019-04-15Use a proc macro to declare preallocated symbolsJohn Kåre Alsaker-0/+21
2019-03-17Make meta-item API compatible with `LocalInternedString::get` soundness fixVadim Petrochenkov-7/+7
2019-03-16Refactor away `NestedMetaItemKind`Vadim Petrochenkov-31/+20
2019-03-16Rename `MetaItem::ident` to `MetaItem::path`Vadim Petrochenkov-16/+16
2019-03-16syntax: Do not accidentally treat multi-segment meta-items as single-segmentVadim Petrochenkov-42/+35
2019-02-18Remove `LazyTokenStream`.Nicholas Nethercote-2/+2
2019-02-13Rollup merge of #58166 - euclio:deprecation-shorthand, r=petrochenkovMazdak Farrokhzad-0/+4
2019-02-12Auto merge of #58051 - SimonSapin:str_escape, r=alexcrichtonbors-1/+1
2019-02-12New return types for str::escape_* that impl Display and Iterator<char>Simon Sapin-1/+1
2019-02-10rustc: doc commentsAlexander Regueiro-3/+3
2019-02-07libsyntax => 2018Taiki Endo-20/+22
2019-02-06Overhaul `syntax::fold::Folder`.Nicholas Nethercote-27/+33
2019-02-05allow shorthand syntax for deprecation reasonAndy Russell-0/+4
2019-01-24Implement optimize(size) and optimize(speed)Simonas Kazlauskas-2/+2
2019-01-20Auto merge of #57651 - JohnTitor:give-char-type, r=estebankbors-0/+1
2019-01-20Mark incorrect recovered `char` literals as `TyErr` to avoid type errorsYuki Okushi-0/+1
2019-01-19Rollup merge of #57486 - nnethercote:simplify-TokenStream-more, r=petrochenkovMazdak Farrokhzad-1/+1
2019-01-16Auto merge of #57321 - petrochenkov:atokens, r=nikomatsakisbors-19/+24
2019-01-14Remove `ThinTokenStream`.Nicholas Nethercote-1/+1
2019-01-13Implement basic input validation for built-in attributesVadim Petrochenkov-19/+24
2019-01-08Make `TokenStream` less recursive.Nicholas Nethercote-3/+5
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-12Rename `TokenStream::concat` and remove `TokenStream::concat_rc_vec`.Nicholas Nethercote-3/+3
2018-12-10Remove `tokenstream::Delimited`.Nicholas Nethercote-7/+8
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-2/+2