summary refs log tree commit diff
path: root/src/test/ui/suggestions
AgeCommit message (Expand)AuthorLines
2022-07-31Improve `cannot move out of` error messageObei Sideg-24/+24
2022-07-31Rollup merge of #99974 - TaKO8Ki:suggest-removing-semicolon-and-boxing-the-ex...Dylan DPC-0/+200
2022-07-31Rollup merge of #99741 - compiler-errors:copy-impl-impl-generics, r=fee1-deadDylan DPC-0/+95
2022-07-31add a test to check if `suggest_remove_semi_or_return_binding` is working wel...Takayuki Maeda-0/+200
2022-07-30Rollup merge of #99891 - compiler-errors:suggest-slicing-carefully, r=oli-obkYuki Okushi-1/+17
2022-07-30Rollup merge of #99671 - TaKO8Ki:suggest-dereferencing-index, r=compiler-errorsYuki Okushi-0/+31
2022-07-29Adjust an expr span to account for macrosMichael Goulet-1/+17
2022-07-29check if T is sliceTakayuki Maeda-1/+1
2022-07-27Rollup merge of #99698 - compiler-errors:no-doc-hidden, r=cjgillotYuki Okushi-0/+69
2022-07-26Use real opaque type instead of just saying impl TraitMichael Goulet-2/+2
2022-07-26Use impl generics when suggesting fix on copy implMichael Goulet-0/+95
2022-07-25Auto merge of #97313 - cjgillot:ast-lifetimes-anon, r=petrochenkovbors-334/+189
2022-07-25Report elision failures on the AST.Camille GILLOT-334/+189
2022-07-24Do not prefer module parents which are `doc(hidden)` in visibility mapMichael Goulet-3/+3
2022-07-24Add failing testAlik Aslanyan-0/+69
2022-07-24suggest dereferencing index when trying to use a reference of usize as indexTakayuki Maeda-0/+31
2022-07-21And for patterns tooMichael Goulet-1/+71
2022-07-21Do if-expression obligation stuff less eagerlyMichael Goulet-29/+28
2022-07-20Rollup merge of #98784 - compiler-errors:forgot-to-return-binding, r=estebankDylan DPC-0/+135
2022-07-20Suggest returning binding from block or enclosing scope on coerce_forced_unit...Michael Goulet-0/+135
2022-07-19Mention first and last macro in backtraceMichael Goulet-10/+10
2022-07-17use rustc_hir_pretty::qpath_to_string to avoid span_to_snippet when rendering...Michael Goulet-0/+34
2022-07-16Be more precise when suggesting removal of parens on unit adt ctorMichael Goulet-0/+17
2022-07-15Fix suggestion regression with incorrect syntactic combination of trait boundsWill Crichton-3/+13
2022-07-15Propagate Expectation around binop typeck code to construct more precise trai...Will Crichton-2/+2
2022-07-15Rollup merge of #99119 - TaKO8Ki:remove-string-matching-about-methods, r=cjgi...Dylan DPC-31/+72
2022-07-15Rollup merge of #98869 - compiler-errors:stop_guessing_head_span, r=cjgillotDylan DPC-3/+3
2022-07-15Remove some usages of guess_head_span from typeckMichael Goulet-3/+3
2022-07-15Auto merge of #98203 - kckeiks:gather-body-owners-in-hir-item-queries, r=cjgi...bors-41/+41
2022-07-13use gathered body_owners in par_body_ownersMiguel Guarniz-41/+41
2022-07-13Add feature gate.Camille GILLOT-2/+90
2022-07-13Always use CreateParameter mode for function definitions.Camille GILLOT-7/+14
2022-07-11Do not mention private Self types from other cratesMichael Goulet-0/+47
2022-07-11remove a string matching about methodsTakayuki Maeda-31/+72
2022-07-08Auto merge of #98816 - estebank:implicit-sized, r=oli-obkbors-11/+11
2022-07-07Track implicit `Sized` obligations in type paramsEsteban Küber-11/+11
2022-07-07Shorten span for closures.Camille GILLOT-432/+284
2022-07-06use `named_span` in case of tuple variantTakayuki Maeda-1/+1
2022-07-06replace `guess_head_span` with `def_span`Takayuki Maeda-3/+36
2022-07-04Fix wrap parenthesis suggestion for async closureMichael Goulet-2/+22
2022-07-01Auto merge of #98781 - GuillaumeGomez:rollup-798kb8u, r=GuillaumeGomezbors-3/+3
2022-07-01Rollup merge of #98497 - compiler-errors:span-inference-note, r=lcnrGuillaume Gomez-3/+3
2022-07-01Auto merge of #93967 - cjgillot:short-struct-span, r=petrochenkovbors-20/+14
2022-07-01Show source of ambiguity in a few more placesMichael Goulet-3/+3
2022-07-01Shorten def_span for more items.Camille GILLOT-20/+14
2022-06-30ui: improve suggestion test by addig the help messageVincenzo Palazzo-15/+37
2022-06-30ui test: add test of blanklet implementationVincenzo Palazzo-0/+143
2022-06-29Rollup merge of #98607 - compiler-errors:tuple-wrap-suggestion, r=oli-obkDylan DPC-5/+5
2022-06-29Rollup merge of #98603 - compiler-errors:minor-borrowck-diagnostic-fixes, r=d...Dylan DPC-6/+20
2022-06-29Rollup merge of #98277 - compiler-errors:issue-93596, r=estebankDylan DPC-4/+39