about summary refs log tree commit diff
path: root/src/libsyntax/parse/diagnostics.rs
AgeCommit message (Expand)AuthorLines
2019-08-27Cleanup: Consistently use `Param` instead of `Arg` #62426Kevin Per-17/+17
2019-08-14Merge Variant and Variant_Caio-6/+5
2019-07-30Unsupport the await!(..) macro.Mazdak Farrokhzad-4/+19
2019-07-30Rollup merge of #62928 - Centril:recover-parens-around-for-head, r=estebankMazdak Farrokhzad-37/+81
2019-07-28Add 'span_to_snippet' shortcut.Mazdak Farrokhzad-6/+6
2019-07-28Use chaining for diagnosics in parser.Mazdak Farrokhzad-33/+33
2019-07-28Recover 'for ( $pat in $expr ) $block'.Mazdak Farrokhzad-0/+44
2019-07-27Lint attributes on function argumentsCaio-1/+1
2019-07-19review commentsEsteban Küber-7/+7
2019-07-19Handle more cases of typos misinterpreted as type ascriptionEsteban Küber-42/+49
2019-07-16normalize use of backticks in compiler messages for libsyntax/parseSamy Kacimi-1/+1
2019-07-13review commentEsteban Küber-1/+1
2019-07-13Detect `fn` with a body in an `extern` blockEsteban Küber-0/+37
2019-07-10Move pp::Printer helpers to direct implMark Rousskov-2/+0
2019-06-29Remove io::Result from syntax::printMark Rousskov-6/+6
2019-06-26remove old fixmeMark Mansi-1/+1
2019-06-21Implement arbitrary_enum_discriminantJohn Wrenn-19/+29
2019-06-12Auto merge of #60669 - c410-f3r:attrs-fn, r=petrochenkovbors-4/+4
2019-06-09Allow attributes in formal function parametersCaio-4/+4
2019-06-08syntax: Remove `Deref` impl from `Token`Vadim Petrochenkov-1/+1
2019-06-07parser: `self.span` -> `self.token.span`Vadim Petrochenkov-35/+35
2019-06-06Some code cleanup and tidy/test fixesVadim Petrochenkov-7/+8
2019-06-06syntax: Remove duplicate span from `token::Ident`Vadim Petrochenkov-3/+3
2019-06-06syntax: Use `Token` in `Parser`Vadim Petrochenkov-6/+6
2019-06-06syntax: Rename `Token` into `TokenKind`Vadim Petrochenkov-6/+6
2019-06-06Always use token kinds through `token` module rather than `Token` typeVadim Petrochenkov-5/+5
2019-06-03syntax: revert `ast::AsyncArgument` and associated changes.Eduard-Mihai Burtescu-1/+1
2019-06-03Auto merge of #61331 - estebank:fn-arg-parse-recovery, r=varkorbors-10/+64
2019-06-01Extend docstringEsteban Küber-0/+7
2019-05-30Move code from `parser` to `diagnostics`Esteban Küber-3/+38
2019-05-30Recover gracefully from argument with missing type or param nameEsteban Küber-8/+20
2019-05-30Explicitly suggest 'type_ascription' featureJanusz Marcinkiewicz-2/+2
2019-05-27Use `Symbol` equality in `is_ident_named`.Nicholas Nethercote-3/+3
2019-05-25review comments: move back some methods and clean up wordingEsteban Küber-40/+145
2019-05-25Move some methods to `diagnostics.rs` away from `parser.rs`Esteban Küber-7/+429
2019-05-25Tweak `self` arg not as first argument of a method diagnosticEsteban Küber-0/+45
2019-05-24Revert changes that belong to separate PREsteban Küber-1/+1
2019-05-24Move diagnostic logic out of parserEsteban Küber-0/+19
2019-05-24review commentsEsteban Küber-2/+54
2019-05-23tweak discriminant on non-nullary enum diagnosticAndy Russell-3/+44
2019-05-22Restore the old behavior of the rustdoc keyword check + Fix rebaseVadim Petrochenkov-2/+2
2019-05-16review commentsEsteban Küber-26/+22
2019-05-16Move some parser recovery methods to diagnosticsEsteban Küber-2/+266
2019-05-16Review commentsEsteban Küber-1/+39
2019-05-01move some functions from parser.rs to diagostics.rsAndrew Xu-0/+226