summaryrefslogtreecommitdiff
path: root/tests/ui/suggestions
AgeCommit message (Expand)Author
2023-09-10Point out if a local trait has no implementationsMichael Goulet
2023-08-28Revert "Suggest using `Arc` on `!Send`/`!Sync` types"David Tolnay
2023-08-26More accurately point at argumentsEsteban Küber
2023-08-26Point at appropriate type parameter in more trait bound errorsEsteban Küber
2023-08-17Rollup merge of #114931 - Urgau:revert-114052, r=compiler-errorsJosh Stone
2023-08-17Auto merge of #114802 - chenyukang:yukang-fix-114979-bad-parens-dyn, r=estebankbors
2023-08-17Revert PR #114052 to fix invalid suggestionUrgau
2023-08-16Rollup merge of #114779 - MU001999:fix/114701, r=petrochenkovMatthias Krüger
2023-08-15Rollup merge of #114819 - estebank:issue-78124, r=compiler-errorsMatthias Krüger
2023-08-16Fix bad suggestion when wrong parentheses around a dyn traityukang
2023-08-15Remove extra errorsr0cky
2023-08-14Point at return type when it influences non-first `match` armEsteban Küber
2023-08-15fix the error checkdirreke
2023-08-13Add check before suggest removing parensMu001999
2023-08-10Auto merge of #114474 - estebank:missing-semi, r=compiler-errorsbors
2023-08-09Suggest using `Arc` on `!Send`/`!Sync` typesEsteban Kuber
2023-08-08Detect missing `;` that parses as function callEsteban Küber
2023-08-03fix the span in the suggestion of remove question markbohan
2023-07-29Auto merge of #114150 - clubby789:improve-option-ref-suggestion, r=WaffleLapkinbors
2023-07-28Update existing UI testsLeón Orell Valerian Liehr
2023-07-27Handle exclusive refs in suggestion to copy/cloneclubby789
2023-07-27Refactor `suggest_copied_cloned_or_as_ref`clubby789
2023-07-25Suggest `{Option,Result}::as_ref()` instead of `cloned()` in some casesclubby789
2023-07-22Rollup merge of #112508 - compiler-errors:trait-sig-lifetime-sugg-ice, r=cjgi...Matthias Krüger
2023-07-14use maybe_body_owned_by for closureyukang
2023-07-10Don't use method span on clone suggestionMichael Goulet
2023-07-10Do not set up wrong span for adjustmentsMichael Goulet
2023-07-10Rollup merge of #113331 - chenyukang:yukang-fix-112590-false-positive, r=este...Matthias Krüger
2023-07-08Rollup merge of #113005 - compiler-errors:dont-query-normalize, r=cjgillotMatthias Krüger
2023-07-07adjust smart_resolve_partial_mod_path_errorsyukang
2023-07-07smart_resolve_partial_mod_path_errors should not suggest parentyukang
2023-07-04Auto merge of #113309 - chenyukang:yukang-fix-89640-space, r=Nilstriebbors
2023-07-04Detect extra space in keyword for better hintyukang
2023-07-04Auto merge of #112917 - chenyukang:yukang-fix-112590, r=estebankbors
2023-07-02add testcase for 112590yukang
2023-07-01Rollup merge of #113174 - chenyukang:yukang-fix-102972-loop-next, r=compiler-...Matthias Krüger
2023-06-30Better messages for next in a iterator inside for loopsyukang
2023-06-30Rollup merge of #111403 - y21:suggest-slice-swap, r=compiler-errorsMatthias Krüger
2023-06-29add `slice::swap` suggestiony21
2023-06-28reword message to be less vagueMichael Goulet
2023-06-27Don't sort strings right after we just sorted by typesMichael Goulet
2023-06-25Do not offer any of the suggestions in emit_coerce_suggestions for expr from ...yukang
2023-06-22suggest importing for partial mod path in name resolvingyukang
2023-06-15change `std::marker::Sized` to just `Sized`Lukas Markeffsky
2023-06-08Point at correct exprs for assert_eq type mismatchMichael Goulet
2023-06-08More robust as_ref/as_deref suggestionsMichael Goulet
2023-06-08Fix ICE for while loop with assignment condition with LHS place expr许杰友 Jieyou Xu (Joe)
2023-05-31Auto merge of #111076 - notriddle:notriddle/silence-private-dep-trait-impl-su...bors
2023-05-27fix: dedup `static_candidates` before reportbohan
2023-05-25diagnostics: exclude indirect private deps from trait impl suggestMichael Howell