about summary refs log tree commit diff
path: root/src/libsyntax
AgeCommit message (Expand)AuthorLines
2019-05-31Remove GlobalArenas and use Arena insteadJohn Kåre Alsaker-3/+3
2019-05-30Move code from `parser` to `diagnostics`Esteban Küber-36/+40
2019-05-30Remove `ArgSource::Recovery`Esteban Küber-6/+4
2019-05-30Recover gracefully from argument with missing type or param nameEsteban Küber-18/+59
2019-05-31Parse 'async unsafe fn' instead of 'unsafe async fn'.Mazdak Farrokhzad-37/+34
2019-05-30Explicitly suggest 'type_ascription' featureJanusz Marcinkiewicz-2/+2
2019-05-30Auto merge of #61253 - nnethercote:avoid-hygiene_data-lookups, r=petrochenkovbors-3/+3
2019-05-29libsyntax: introduce 'fn is_keyword_ahead(dist, keywords)'.Mazdak Farrokhzad-35/+38
2019-05-29Introduce and use `SyntaxContext::outer_expn_info()`.Nicholas Nethercote-3/+3
2019-05-29syntax: bail out of `find_width_of_character_at_span` if the span doesn't sta...Eduard-Mihai Burtescu-0/+5
2019-05-27Auto merge of #61140 - estebank:attr-diagnostics, r=michaelwoeristerbors-12/+74
2019-05-27Auto merge of #60967 - Zoxc:fix-syntax-sync, r=michaelwoeristerbors-0/+22
2019-05-27Short circuit Send and Sync impls for TokenTreeJohn Kåre Alsaker-0/+22
2019-05-27Stabilize repr_align_enum in 1.37.0.Mazdak Farrokhzad-14/+3
2019-05-27Use `Symbol` equality in `may_begin_with` and `parse_nt`.Nicholas Nethercote-27/+27
2019-05-27Use `Symbol` equality in `is_ident_named`.Nicholas Nethercote-8/+8
2019-05-27Avoid some re-interning in `to_lit_token`.Nicholas Nethercote-5/+8
2019-05-27Add `to_symbol` methods.Nicholas Nethercote-4/+26
2019-05-27Pre-intern "0", "1", ..., "9", and use where appropriate.Nicholas Nethercote-3/+3
2019-05-27Pass symbols to `ExtCtxt::std_path` instead of strings.Nicholas Nethercote-26/+16
2019-05-27Avoid unnecessary internings.Nicholas Nethercote-20/+11
2019-05-25review comments: move back some methods and clean up wordingEsteban Küber-172/+176
2019-05-25Move some methods to `diagnostics.rs` away from `parser.rs`Esteban Küber-413/+462
2019-05-25Tweak `self` arg not as first argument of a method diagnosticEsteban Küber-37/+55
2019-05-25Reword malformed attribute input diagnosticsEsteban Küber-12/+74
2019-05-24Revert changes that belong to separate PREsteban Küber-18/+4
2019-05-24Move diagnostic logic out of parserEsteban Küber-19/+20
2019-05-24Fix rebaseEsteban Küber-4/+6
2019-05-24review commentsEsteban Küber-63/+70
2019-05-24Tweak macro parse errors when reaching EOF during macro call parseEsteban Küber-44/+105
2019-05-24Auto merge of #60803 - varkor:remove-in-place-syntax, r=petrochenkovbors-47/+4
2019-05-24Auto merge of #60984 - matthewjasper:borrowck-error-reporting-cleanup, r=pnkf...bors-4/+5
2019-05-24Remove `ObsoleteInPlace`varkor-47/+4
2019-05-24Rollup merge of #61056 - euclio:custom-discriminant-error, r=estebankMazdak Farrokhzad-16/+45
2019-05-23tweak discriminant on non-nullary enum diagnosticAndy Russell-16/+45
2019-05-23Auto merge of #60965 - petrochenkov:lit3, r=matkladbors-441/+435
2019-05-23syntax: Some code cleanupVadim Petrochenkov-212/+157
2019-05-23syntax: Turn `token::Lit` into a structVadim Petrochenkov-197/+216
2019-05-23syntax: Remove an obsolete hack from literal comparisonsVadim Petrochenkov-9/+1
2019-05-23syntax: Fix spans for boolean literals passed to proc macrosVadim Petrochenkov-5/+5
2019-05-23syntax: More consistent wording for some literal parsing errorsVadim Petrochenkov-2/+2
2019-05-23syntax: Return named errors from literal parsing functionsVadim Petrochenkov-128/+166
2019-05-23Auto merge of #61075 - Centril:rollup-1ugmcqu, r=Centrilbors-10/+14
2019-05-23Rollup merge of #61046 - mark-i-m:transcribe-fix, r=petrochenkovMazdak Farrokhzad-8/+10
2019-05-23Rollup merge of #61014 - jsgf:emit-artifact-type, r=alexcrichtonMazdak Farrokhzad-2/+4
2019-05-23Auto merge of #60174 - matthewjasper:add-match-arm-scopes, r=pnkfelixbors-2/+12
2019-05-23Auto merge of #60740 - petrochenkov:kw, r=nnethercotebors-316/+314
2019-05-22Restore the old behavior of the rustdoc keyword check + Fix rebaseVadim Petrochenkov-19/+18
2019-05-22Eliminate unnecessary `Ident::with_empty_ctxt`sVadim Petrochenkov-22/+18
2019-05-22Simplify use of keyword symbolsVadim Petrochenkov-299/+302