about summary refs log tree commit diff
path: root/src/test/ui/methods
AgeCommit message (Expand)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-3405/+0
2023-01-09Consider method return type for various method suggestionsMichael Goulet-0/+45
2023-01-05Tweak wording of fn call with wrong number of argsEsteban Küber-9/+9
2022-12-30Suppress errors due to TypeError not coercing with inference variablesMichael Goulet-14/+2
2022-12-27fix #105788, Remove unreasonable help message for auto traityukang-14/+5
2022-12-16Rollup merge of #105747 - chenyukang:yukang/fix-105732-auto-trait, r=compiler...Matthias Krüger-0/+41
2022-12-16fix #105732, Fix ICE calling method on auto traityukang-0/+41
2022-12-15Trim paths in E0599Esteban Küber-1/+1
2022-12-13Inform the user which trait is meant in the diagnostic itself instead of rely...Oli Scherer-1/+1
2022-12-13Make some diagnostics not depend on the source of what they reference being a...Oli Scherer-7/+2
2022-12-10Introduce `with_forced_trimmed_paths`Esteban Küber-5/+5
2022-11-24Change how suggested lifetime args are computed.Camille GILLOT-4/+4
2022-11-21Unreserve braced enum variants in value namespaceVadim Petrochenkov-6/+6
2022-10-17Rollup merge of #102454 - chenyukang:fix-102396-missing-parentheses, r=lcnrMatthias Krüger-10/+267
2022-10-17trivial fix for comments feedbackyukang-10/+10
2022-10-13Report duplicate definition in impls with overlap check.Camille GILLOT-4/+4
2022-10-04find the correct lang item for rangesyukang-33/+61
2022-10-04fix #102396, suggest parentheses for possible range methodsyukang-10/+239
2022-10-01bless ui testsMaybe Waffle-6/+6
2022-09-03Shrink suggestion span of argument mismatch errorMichael Goulet-4/+4
2022-08-27use smaller span for suggestionsTakayuki Maeda-4/+4
2022-08-12Point out a single arg if we have a single arg incompatibilityMichael Goulet-4/+4
2022-08-03Warn about dead tuple struct fieldsFabian Wolff-3/+3
2022-07-19feat: omit suffixes in const generics (e.g. `1_i32`)Artur Sinila-11/+11
2022-07-17use rustc_hir_pretty::qpath_to_string to avoid span_to_snippet when rendering...Michael Goulet-3/+3
2022-07-11Use fake substs to check for `Self: Sized` predicates on method receiversMichael Goulet-0/+59
2022-07-08Auto merge of #98816 - estebank:implicit-sized, r=oli-obkbors-9/+9
2022-07-07Track implicit `Sized` obligations in type paramsEsteban Küber-9/+9
2022-07-07Shorten span for closures.Camille GILLOT-2/+2
2022-07-04resolve vars in node substslcnr-1/+5
2022-07-01Shorten def_span for more items.Camille GILLOT-9/+3
2022-06-29Rollup merge of #97542 - compiler-errors:arg-mismatch, r=jackh726Dylan DPC-1/+1
2022-06-28Auto merge of #98396 - cjgillot:iwfchir, r=petrochenkovbors-2/+2
2022-06-27Use typed indices in argument mismatch algorithmMichael Goulet-1/+1
2022-06-25Rollup merge of #98298 - TaKO8Ki:point-to-type-param-definition, r=compiler-e...Matthias Krüger-9/+9
2022-06-24Bless ui tests.Camille GILLOT-2/+2
2022-06-22point to type param definition when not finding variant, method and assoc typeTakayuki Maeda-9/+9
2022-06-19Make missing argument placeholder more obvious that it's a placeholderMichael Goulet-6/+6
2022-06-02add new `emit_inference_failure_err`lcnr-4/+7
2022-06-01Mention filename in suggestion when it differs from primary spanEsteban Küber-0/+1
2022-04-24diagnostics: regression test for <usize as Iterator>::revMichael Howell-0/+20
2022-04-17Bless tests.Camille GILLOT-2/+20
2022-04-16Implementation for 65853Jack Huey-17/+39
2022-03-11Add regression test for `<i32 as Iterator>::count`Michael Howell-0/+17
2022-03-09diagnostics: use rustc_on_unimplemented to recommend `[].iter()`Michael Howell-3/+25
2022-02-24Remove in-band lifetimesMichael Goulet-2/+0
2021-12-10manually implement `Hash` for `DefId`Andre Bogus-6/+6
2021-10-24Point at overlapping impls when type annotations are neededEsteban Kuber-3/+18
2021-10-05Consider unfulfilled obligations in binop errorsEsteban Kuber-0/+11
2021-09-30Auto merge of #89110 - Aaron1011:adjustment-span, r=estebankbors-2/+2