about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/diagnostics.rs
AgeCommit message (Expand)AuthorLines
2021-10-17Some "parenthesis" and "parentheses" fixesr00ster91-2/+2
2021-09-24Auto merge of #88835 - FabianWolff:issue-88770, r=petrochenkovbors-2/+2
2021-09-17Rollup merge of #87566 - JohnTitor:find-eqeq-on-assoc-type-bounds, r=estebankGuillaume Gomez-1/+13
2021-09-17Apply review commentsYuki Okushi-2/+2
2021-09-17Recover invalid assoc type bounds using `==`Yuki Okushi-1/+13
2021-09-17Use `multipart_suggestion`Yuki Okushi-19/+13
2021-09-17Emit clearer diagnostics for parens around `for` loop headsYuki Okushi-2/+3
2021-09-13Auto merge of #87915 - estebank:fancy-spans, r=oli-obkbors-39/+46
2021-09-10Fix error recovery in format macro parsingFabian Wolff-2/+2
2021-09-04Auto merge of #88598 - estebank:type-ascription-can-die-in-a-fire, r=wesleywiserbors-3/+8
2021-09-03Detect bare blocks with type ascription that were meant to be a `struct` literalEsteban Kuber-3/+8
2021-08-27Point at unclosed delimiters as part of the primary MultiSpanEsteban Kuber-1/+11
2021-08-12Use smaller spans for some structured suggestionsEsteban Kuber-39/+46
2021-07-30Use multispan suggestions more oftenEsteban Küber-1/+1
2021-07-24fix code to suggest `;` on parse errorElliot Bobrow-57/+57
2021-06-10Add support for using qualified paths with structs in expression and patternRyan Levick-1/+1
2021-05-08Rename `Parser::span_fatal_err` -> `Parser::span_err`Joshua Nelson-5/+1
2021-04-12don't bump in check_mistyped_turbofish_with_multiple_type_paramsb-naber-15/+17
2021-03-17Emit more pretty diagnostics for qualified pathsYuki Okushi-14/+21
2021-03-17Fix bad diagnostics for anon params with qualified pathsYuki Okushi-10/+20
2021-03-17Fix bad diagnostics for anon params with refYuki Okushi-31/+54
2021-02-27Fix turbofish recovery with multiple generic argsÖmer Sinan Ağacan-1/+1
2021-02-25fix reviewklensy-1/+1
2021-02-24replaced some map_or with map_or_elseklensy-1/+1
2021-02-15Simplify pattern grammar by allowing nested leading vertmark-1/+1
2021-01-31Improve handling of spans around macro result parse errorsAaron Hill-2/+2
2021-01-22improve diagnostics for angle argsb-naber-5/+16
2021-01-14Use Option::map_or instead of `.map(..).unwrap_or(..)`LingMan-1/+1
2020-12-21Implemented a compiler diagnostic for move async mistakeDion Dokter-0/+18
2020-11-18Permit standalone generic parameters as const generic arguments in macrosvarkor-3/+7
2020-10-30Fix even more clippy warningsJoshua Nelson-5/+1
2020-10-29Rollup merge of #78460 - varkor:turbofish-string-generic, r=lcnrYuki Okushi-4/+5
2020-10-28Adjust turbofish help message for const genericsvarkor-4/+5
2020-10-28Rollup merge of #78379 - estebank:fn-signature-parse, r=varkorDylan DPC-8/+0
2020-10-27Auto merge of #77502 - varkor:const-generics-suggest-enclosing-braces, r=petr...bors-4/+143
2020-10-26Suggest expressions that look like const generic arguments should be enclosed...varkor-4/+143
2020-10-25Rely on regular "expected"/"found" parser error for `fn`Esteban Küber-8/+0
2020-10-23Silence unnecessary `await foo?` knock-down errorEsteban Küber-1/+7
2020-10-07Detect blocks that could be struct expr bodiesEsteban Küber-2/+85
2020-09-15Auto merge of #76171 - estebank:turbofish-the-revenge, r=davidtwcobors-0/+46
2020-09-14Detect turbofish with multiple type params missing leading `::`Esteban Küber-0/+46
2020-09-10Attach `TokenStream` to `ast::Path`Aaron Hill-1/+1
2020-09-10Attach `TokenStream` to `ast::Ty`Aaron Hill-2/+7
2020-08-30mv compiler to compiler/mark-0/+1643