about summary refs log tree commit diff
path: root/src/librustc_parse
AgeCommit message (Expand)AuthorLines
2020-03-07Rollup merge of #69656 - matthiaskrgr:iter_nth_zero, r=oli-obkMazdak Farrokhzad-3/+3
2020-03-07Rollup merge of #68985 - daboross:fix-35813, r=CentrilMazdak Farrokhzad-5/+58
2020-03-06fix various typosMatthias Krüger-4/+4
2020-03-06Auto merge of #69586 - petrochenkov:unmerge, r=Centrilbors-20/+20
2020-03-05review commentsEsteban Küber-7/+11
2020-03-05Rollup merge of #69736 - matthiaskrgr:even_more_clippy, r=Dylan-DPCDylan DPC-1/+1
2020-03-05Const items have by default a static lifetime, there's no need to annotate it...Matthias Krüger-1/+1
2020-03-04Tweak output for invalid negative impl AST errorsEsteban Küber-1/+1
2020-03-04Permit attributes on 'if' expressionsAaron Hill-9/+0
2020-03-04Use .map() to modify data inside Options instead of using .and_then(|x| Some(...Matthias Krüger-1/+1
2020-03-04On mismatched delimiters, only point at empty blocks that are in the same lineEsteban Küber-1/+6
2020-03-03Use .next() instead of .nth(0) on iterators.Matthias Krüger-3/+3
2020-03-01encode `;` stmt w/o expr as `StmtKind::Empty`Mazdak Farrokhzad-20/+7
2020-03-01ast: Implement `TryFrom<ItemKind>` for associated and foreign itemsVadim Petrochenkov-20/+20
2020-03-01Rollup merge of #69579 - petrochenkov:noprevspan, r=CentrilYuki Okushi-207/+224
2020-03-01Auto merge of #69592 - petrochenkov:nosyntax, r=Centrilbors-84/+94
2020-02-29Replace ptr hashing with ptr castingDavid-15/+6
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-82/+92
2020-02-29Rollup merge of #69587 - petrochenkov:reqname, r=CentrilDylan DPC-3/+4
2020-02-29Make it build againVadim Petrochenkov-3/+3
2020-02-29rustc_parse: Tweak the function parameter name checkVadim Petrochenkov-3/+4
2020-02-29Auto merge of #69260 - GuillaumeGomez:create-E0747-error-code, r=varkor,estebankbors-2/+6
2020-02-29parser: Remove `Parser::prev_span`Vadim Petrochenkov-10/+12
2020-02-29parser: `prev_span` -> `prev_token.span`Vadim Petrochenkov-197/+212
2020-02-29Auto merge of #69570 - Dylan-DPC:rollup-d6boczt, r=Dylan-DPCbors-4/+4
2020-02-29Auto merge of #69255 - estebank:e0599-details, r=varkorbors-2/+4
2020-02-29Rollup merge of #69567 - matthiaskrgr:useless_fmt, r=nagisaDylan DPC-1/+1
2020-02-29Rollup merge of #69551 - matthiaskrgr:len_zero, r=Mark-SimulacrumDylan DPC-3/+3
2020-02-29use .to_string() instead of format!() macro to create stringsMatthias Krüger-1/+1
2020-02-28Suggest constraining type parametersEsteban Küber-2/+4
2020-02-28Rollup merge of #69547 - matthiaskrgr:more_misc, r=Mark-SimulacrumMazdak Farrokhzad-1/+1
2020-02-28Rollup merge of #69541 - dotdash:format, r=Mark-SimulacrumMazdak Farrokhzad-9/+6
2020-02-28Rollup merge of #69481 - matthiaskrgr:single_char, r=ecstatic-morseMazdak Farrokhzad-1/+1
2020-02-28Rollup merge of #69384 - petrochenkov:nounnorm, r=CentrilMazdak Farrokhzad-69/+59
2020-02-28Add E0747 error codeGuillaume Gomez-2/+6
2020-02-28use is_empty() instead of len() == x to determine if structs are empty.Matthias Krüger-3/+3
2020-02-28remove redundant clones, references to operands, explicit boolean comparisons...Matthias Krüger-1/+1
2020-02-28Rollup merge of #69529 - matthiaskrgr:clippy_identity_conversion, r=Mark-Simu...Dylan DPC-17/+11
2020-02-27don't use .into() to convert types into identical types.Matthias Krüger-17/+11
2020-02-27Remove unneeded calls to format!()Björn Steinbrink-9/+6
2020-02-27use char instead of &str for single char patternsMatthias Krüger-1/+1
2020-02-27use find(x) instead of filter(x).next()Matthias Krüger-11/+4
2020-02-26Rollup merge of #69447 - Centril:minor-stmt-refactor, r=estebankDylan DPC-94/+87
2020-02-26Rollup merge of #69423 - petrochenkov:nont, r=CentrilDylan DPC-11/+0
2020-02-25parse: address nitpickMazdak Farrokhzad-3/+2
2020-02-25parse: move condition into guardMazdak Farrokhzad-28/+28
2020-02-24parse: simplify `parse_stmt_without_recovery`.Mazdak Farrokhzad-36/+29
2020-02-24parse: extract `parse_stmt_item` & `parse_stmt_path_start`.Mazdak Farrokhzad-32/+33
2020-02-24syntax: Remove `Nt(Impl,Trait,Foreign)Item`Vadim Petrochenkov-11/+0
2020-02-24don't explicitly compare against true or falseMatthias Krüger-2/+2