about summary refs log tree commit diff
path: root/tests/ui/methods
AgeCommit message (Expand)AuthorLines
2025-01-03Do not ICE when encountering predicates from other items in method error repo...Michael Goulet-0/+72
2024-12-27Remove the `-test` suffix from normalize directivesZalathar-1/+1
2024-12-11Arbitrary self types v2: use Receiver traitAdrian Taylor-0/+101
2024-12-07Mention type parameter in more cases and don't suggest ~const bound already t...Esteban Küber-4/+4
2024-12-07Use trait name instead of full constraint in suggestion messageEsteban Küber-4/+4
2024-12-07reword trait bound suggestion message to include the boundsEsteban Küber-4/+4
2024-11-26tests: remove `//@ pretty-expanded` usages许杰友 Jieyou Xu (Joe)-6/+2
2024-09-29Don't give method suggestions when method probe fails due to bad impl of DerefMichael Goulet-0/+25
2024-09-20Auto merge of #124895 - obeis:static-mut-hidden-ref, r=compiler-errorsbors-0/+6
2024-09-17Auto merge of #129073 - compiler-errors:receiver-variance, r=lcnrbors-0/+28
2024-09-16Relate receiver invariantly in method probe for Mode::PathMichael Goulet-0/+28
2024-09-13Update tests for hidden references to mutable staticObei Sideg-0/+6
2024-09-12Use Autoderef::silence_errors more liberally throughout diagnostics codeMichael Goulet-11/+1
2024-09-12Do not report an excessive number of overflow errors for an ever-growing dere...Michael Goulet-0/+47
2024-09-10Report the `note` when specified in `diagnostic::on_unimplemented`FedericoBruzzone-0/+2
2024-08-26Do not ICE on non-ADT rcvr type when looking for crate version collisionEsteban Küber-0/+25
2024-07-29Rollup merge of #128239 - compiler-errors:error-on-object-cand-confirm, r=oli...Matthias Krüger-0/+22
2024-07-26Don't ICE when encountering error regions when confirming object method candi...Michael Goulet-0/+22
2024-07-22Revert suggestion verbosity changeEsteban Küber-12/+6
2024-07-22On generic and lifetime removal suggestion, do not leave behind stray `,`Esteban Küber-2/+2
2024-07-22Change suggestion message wordingEsteban Küber-2/+2
2024-07-22Use verbose suggestion for "wrong # of generics"Esteban Küber-6/+12
2024-07-17Rollup merge of #125042 - long-long-float:suggest-move-arg-outside, r=fmeaseMatthias Krüger-2/+2
2024-07-15Make sure trait def ids match before zipping args in note_function_argument_o...Michael Goulet-0/+97
2024-07-14Use ordinal number in argument errorlong-long-float-2/+2
2024-07-05Use verbose style for argument removal suggestionEsteban Küber-4/+6
2024-06-13Method resolution constrains hidden types instead of rejecting method candidatesOli Scherer-39/+3
2024-05-31Rollup merge of #125635 - fmease:mv-type-binding-assoc-item-constraint, r=com...Matthias Krüger-3/+3
2024-05-30Rename HIR `TypeBinding` to `AssocItemConstraint` and related cleanupLeón Orell Valerian Liehr-3/+3
2024-05-23Don't continue probing for method if in suggestion and autoderef hits ambiguityMichael Goulet-0/+25
2024-05-20Note for E0599 if shadowed bindings has the method.surechen-0/+24
2024-05-13Add test to make sure suggestions are still quickMichael Goulet-0/+247
2024-05-09Fix test problems discovered by the revision checkZalathar-0/+1
2024-05-04compiletest: add enable-by-default check-cfgUrgau-0/+3
2024-04-27tests: remove some trailing wsklensy-1/+1
2024-04-21Use sup instead of eq when unifying self typeMichael Goulet-0/+24
2024-04-21Use fulfillment, not evaluate, during method probeMichael Goulet-0/+58
2024-04-11Auto merge of #123007 - kadiwa4:suggest_convert_ptr_to_mut_ref, r=estebankbors-0/+87
2024-04-11Rollup merge of #123703 - estebank:diag-changes-2, r=NadrierilLeón Orell Valerian Liehr-1/+1
2024-04-10rework ptr-to-ref conversion suggestion for method callsKalle Wachsmuth-6/+73
2024-04-10move testKalle Wachsmuth-0/+20
2024-04-10Use `fn` ptr signature instead of `{closure@..}` in infer errorEsteban Küber-1/+1
2024-04-09Rollup merge of #122768 - oli-obk:why_is_E0699_so_bad, r=WaffleLapkinMatthias Krüger-13/+35
2024-04-04Add regression testOli Scherer-0/+66
2024-04-01Make sure to insert Sized bound first into clauses listMichael Goulet-0/+30
2024-03-27Stop sorting `DefId`s in the compilerOli Scherer-2/+2
2024-03-27Sort a diagnostic by `DefPathStr` instead of `DefId`Oli Scherer-2/+2
2024-03-27Sort method suggestions by `DefPath` instead of `DefId`Oli Scherer-26/+26
2024-03-20Use the more informative generic type inference failure error on method calls...Oli Scherer-13/+35
2024-03-05Rollup merge of #121826 - estebank:e0277-root-obligation-2, r=oli-obkMatthias Krüger-10/+18