summary refs log tree commit diff
path: root/tests/ui/suggestions
AgeCommit message (Expand)AuthorLines
2023-09-29fix(suggestion): insert projection to associated typesbohan-1/+50
2023-09-25When suggesting `self.x` for `S { x }`, use `S { x: self.x }`Esteban Küber-1/+6
2023-09-24Rollup merge of #116086 - estebank:issue-115992, r=compiler-errorsMatthias Krüger-7/+52
2023-09-23Tweak wording and logicEsteban Küber-6/+6
2023-09-23When encountering method on `Self` that we can't suggest, mention itEsteban Küber-0/+3
2023-09-23More accurate suggestion for `self.` and `Self::`Esteban Küber-3/+45
2023-09-21adjust how closure/generator types and rvalues are printedRalf Jung-21/+21
2023-09-10Point out if a local trait has no implementationsMichael Goulet-0/+5
2023-08-28Revert "Suggest using `Arc` on `!Send`/`!Sync` types"David Tolnay-9/+0
2023-08-26More accurately point at argumentsEsteban Küber-6/+6
2023-08-26Point at appropriate type parameter in more trait bound errorsEsteban Küber-4/+2
2023-08-17Rollup merge of #114931 - Urgau:revert-114052, r=compiler-errorsJosh Stone-16/+55
2023-08-17Auto merge of #114802 - chenyukang:yukang-fix-114979-bad-parens-dyn, r=estebankbors-0/+72
2023-08-17Revert PR #114052 to fix invalid suggestionUrgau-16/+55
2023-08-16Rollup merge of #114779 - MU001999:fix/114701, r=petrochenkovMatthias Krüger-0/+30
2023-08-15Rollup merge of #114819 - estebank:issue-78124, r=compiler-errorsMatthias Krüger-0/+3
2023-08-16Fix bad suggestion when wrong parentheses around a dyn traityukang-0/+72
2023-08-15Remove extra errorsr0cky-39/+6
2023-08-14Point at return type when it influences non-first `match` armEsteban Küber-0/+3
2023-08-15fix the error checkdirreke-1/+1
2023-08-13Add check before suggest removing parensMu001999-0/+63
2023-08-10Auto merge of #114474 - estebank:missing-semi, r=compiler-errorsbors-1/+152
2023-08-09Suggest using `Arc` on `!Send`/`!Sync` typesEsteban Kuber-0/+9
2023-08-08Detect missing `;` that parses as function callEsteban Küber-1/+152
2023-08-03fix the span in the suggestion of remove question markbohan-0/+31
2023-07-29Auto merge of #114150 - clubby789:improve-option-ref-suggestion, r=WaffleLapkinbors-4/+58
2023-07-28Update existing UI testsLeón Orell Valerian Liehr-4/+55
2023-07-27Handle exclusive refs in suggestion to copy/cloneclubby789-1/+55
2023-07-27Refactor `suggest_copied_cloned_or_as_ref`clubby789-3/+3
2023-07-25Suggest `{Option,Result}::as_ref()` instead of `cloned()` in some casesclubby789-1/+30
2023-07-22Rollup merge of #112508 - compiler-errors:trait-sig-lifetime-sugg-ice, r=cjgi...Matthias Krüger-1/+1
2023-07-14use maybe_body_owned_by for closureyukang-0/+34
2023-07-10Don't use method span on clone suggestionMichael Goulet-2/+2
2023-07-10Do not set up wrong span for adjustmentsMichael Goulet-14/+18
2023-07-10Rollup merge of #113331 - chenyukang:yukang-fix-112590-false-positive, r=este...Matthias Krüger-5/+11
2023-07-08Rollup merge of #113005 - compiler-errors:dont-query-normalize, r=cjgillotMatthias Krüger-9/+9
2023-07-07adjust smart_resolve_partial_mod_path_errorsyukang-0/+11
2023-07-07smart_resolve_partial_mod_path_errors should not suggest parentyukang-5/+0
2023-07-04Auto merge of #113309 - chenyukang:yukang-fix-89640-space, r=Nilstriebbors-0/+16
2023-07-04Detect extra space in keyword for better hintyukang-0/+16
2023-07-04Auto merge of #112917 - chenyukang:yukang-fix-112590, r=estebankbors-0/+51
2023-07-02add testcase for 112590yukang-18/+53
2023-07-01Rollup merge of #113174 - chenyukang:yukang-fix-102972-loop-next, r=compiler-...Matthias Krüger-0/+49
2023-06-30Better messages for next in a iterator inside for loopsyukang-0/+49
2023-06-30Rollup merge of #111403 - y21:suggest-slice-swap, r=compiler-errorsMatthias Krüger-0/+1
2023-06-29add `slice::swap` suggestiony21-0/+1
2023-06-28reword message to be less vagueMichael Goulet-1/+1
2023-06-27Don't sort strings right after we just sorted by typesMichael Goulet-9/+9
2023-06-25Do not offer any of the suggestions in emit_coerce_suggestions for expr from ...yukang-0/+99
2023-06-22suggest importing for partial mod path in name resolvingyukang-5/+21