summary refs log tree commit diff
path: root/src/libsyntax/attr
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-31Remove GlobalArenas and use Arena insteadJohn Kåre Alsaker-3/+3
2019-05-25Reword malformed attribute input diagnosticsEsteban Küber-1/+9
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-49/+46
2019-05-13Remove the equality operation between `Symbol` and strings.Nicholas Nethercote-11/+11
2019-05-13Pass a `Symbol` to `check_name`, `emit_feature_err`, and related functions.Nicholas Nethercote-26/+17
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-23Add rustc_allow_const_fn_ptrTaylor Cramer-4/+14
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-30/+30
2019-03-16Refactor away `NestedMetaItemKind`Vadim Petrochenkov-59/+48
2019-03-16Rename `MetaItem::ident` to `MetaItem::path`Vadim Petrochenkov-25/+25
2019-03-16syntax: Do not accidentally treat multi-segment meta-items as single-segmentVadim Petrochenkov-90/+81
2019-02-27Mention `unwind(aborts)` in diagnostics for `#[unwind]`Vadim Petrochenkov-31/+17
2019-02-18Remove `LazyTokenStream`.Nicholas Nethercote-2/+2
2019-02-13Rollup merge of #58273 - taiki-e:rename-dependency, r=matthewjasperMazdak Farrokhzad-1/+1
2019-02-13Rollup merge of #58166 - euclio:deprecation-shorthand, r=petrochenkovMazdak Farrokhzad-60/+69
2019-02-12Auto merge of #58051 - SimonSapin:str_escape, r=alexcrichtonbors-1/+1
2019-02-13Cleanup importsTaiki Endo-1/+1
2019-02-13Rename rustc_errors dependency in rust 2018 cratesTaiki Endo-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-6/+6
2019-02-07libsyntax => 2018Taiki Endo-28/+31
2019-02-06Overhaul `syntax::fold::Folder`.Nicholas Nethercote-27/+33
2019-02-05allow shorthand syntax for deprecation reasonAndy Russell-60/+69
2019-01-30Add suggestions to deprecation lintsOliver Scherer-1/+4
2019-01-26remove `_with_applicability` from suggestion fnsAndy Russell-3/+3
2019-01-24Implement optimize(size) and optimize(speed)Simonas Kazlauskas-2/+9
2019-01-20Auto merge of #57651 - JohnTitor:give-char-type, r=estebankbors-0/+1