about summary refs log tree commit diff
path: root/compiler/rustc_parse
AgeCommit message (Expand)AuthorLines
2021-01-22Refactor token collection to capture trailing token immediatelyAaron Hill-107/+124
2021-01-20Improve suggestion for tuple struct pattern matching errors.Reese Williams-2/+2
2021-01-20Force token collection to run when parsing nonterminalsAaron Hill-63/+89
2021-01-15Rollup merge of #80944 - LingMan:map_or, r=nagisaYuki Okushi-1/+1
2021-01-15Auto merge of #80993 - Aaron1011:collect-set-tokens, r=petrochenkovbors-137/+35
2021-01-14Use Option::map_or instead of `.map(..).unwrap_or(..)`LingMan-1/+1
2021-01-13Set tokens on AST node in `collect_tokens`Aaron Hill-137/+35
2021-01-13Auto merge of #77524 - Patryk27:fixes/66228, r=estebankbors-1/+2
2021-01-12Auto merge of #76580 - rokob:iss76011, r=estebankbors-4/+5
2021-01-10Auto merge of #80789 - Aaron1011:fix/stmt-empty, r=petrochenkovbors-1/+10
2021-01-10Rework diagnostics for wrong number of generic argsPatryk Wychowaniec-1/+2
2021-01-09Auto merge of #80441 - petrochenkov:kwtok, r=Aaron1011bors-4/+5
2021-01-09Synthesize a `TokenStream` for `StmtKind::Empty`Aaron Hill-1/+10
2021-01-09ast: Remove some indirection layers from values in key-value attributesVadim Petrochenkov-4/+5
2021-01-08Use an empty `TokenCursorFrame` stack when capturing tokensAaron Hill-1/+9
2021-01-08Add a note for `*` and `{}` usage on `use`Yuki Okushi-1/+16
2021-01-08rustc_ast_pretty: Remove `PrintState::insert_extra_parens`Vadim Petrochenkov-2/+1
2021-01-07rustc_parse: Better spans for synthesized token streamsVadim Petrochenkov-12/+8
2021-01-01make `const_generics_defaults` use the unstable syntax mechanismRémy Rakic-3/+14
2021-01-01first pass at default values for const genericsJulian Knodt-12/+22
2020-12-31Consistently call editions "Rust 20xx" in messages.Mara Bos-2/+2
2020-12-31Add edition 2021.Mara Bos-5/+6
2020-12-31Auto merge of #80459 - mark-i-m:or-pat-reg, r=petrochenkovbors-25/+10
2020-12-30Rollup merge of #80495 - jyn514:rename-empty, r=petrochenkovMara Bos-3/+3
2020-12-30Implement edition-based macro pat featuremark-25/+10
2020-12-30Rename kw::Invalid -> kw::EmptyJoshua Nelson-3/+3
2020-12-30Fix ICE when pointing at multi bytes characterYuki Okushi-5/+1
2020-12-29Remove pretty-print/reparse hack, and add derive-specific hackAaron Hill-359/+31
2020-12-28Rollup merge of #80344 - matthiaskrgr:matches, r=Dylan-DPCDylan DPC-4/+3
2020-12-26stabilize min_const_genericsBastian Kauschke-3/+1
2020-12-25Rollup merge of #80160 - diondokter:move_async_fix, r=davidtwcoDylan DPC-4/+32
2020-12-24use matches!() macro in more placesMatthias Krüger-4/+3
2020-12-21Implemented a compiler diagnostic for move async mistakeDion Dokter-4/+32
2020-12-19implement edition-specific :pat behavior for 2015/18mark-12/+41
2020-12-19Auto merge of #77035 - mibac138:fn-fat-arrow-return, r=davidtwcobors-17/+107
2020-12-17Don't allow `const` to begin a nonterminalCamelid-0/+2
2020-12-17Address review commentsmibac138-7/+21
2020-12-13Auto merge of #79978 - Aaron1011:fix/capture-broken-token, r=petrochenkovbors-9/+58
2020-12-13Auto merge of #79668 - coolreader18:recover-const-impl, r=petrochenkovbors-3/+38
2020-12-12Properly capture trailing 'unglued' tokenAaron Hill-9/+58
2020-12-12Recover on `const impl<> X for Y`Noah-3/+38
2020-12-09Accept arbitrary expressions in key-value attributes at parse timeVadim Petrochenkov-9/+18
2020-12-04A slightly clearer diagnostic when misusingRyan Levick-1/+1
2020-12-03Gracefully handle confusing -> with : in function return typemibac138-21/+75
2020-12-02Auto merge of #79364 - nico-abram:unstable-or-pat-suggestion, r=matthewjasperbors-11/+22
2020-12-01Gracefully handle mistyping -> as => in function return typemibac138-6/+28
2020-11-30Auto merge of #79329 - camelid:int-lit-suffix-error, r=davidtwcobors-2/+2
2020-11-29Fixes #79357 unstable or-pat suggestionsunknown-11/+22
2020-11-28Rollup merge of #78853 - calebcartwright:fix-const-block-expr-span, r=spastorinoJonas Schievink-1/+2
2020-11-28Auto merge of #78296 - Aaron1011:fix/stmt-tokens, r=petrochenkovbors-58/+112