about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection
AgeCommit message (Expand)AuthorLines
2022-12-18don't clone Copy typesMatthias Krüger-2/+2
2022-12-17Suggest a `T: Send` bound for `&mut T` upvars in `Send` generatorsMatthew House-17/+22
2022-12-16Auto merge of #105717 - compiler-errors:anonymize, r=jackh726bors-4/+4
2022-12-16Auto merge of #104334 - compiler-errors:ufcs-sugg-wrong-def-id, r=estebankbors-5/+6
2022-12-15Rollup merge of #105727 - estebank:use-impl-trait, r=oli-obkMatthias Krüger-8/+20
2022-12-15Rollup merge of #105694 - ouz-a:issue_105689, r=estebankMatthias Krüger-13/+15
2022-12-15Consider lifetimes when comparing assoc types in method chainEsteban Küber-1/+1
2022-12-15Use `with_forced_trimmed_paths` moreEsteban Küber-16/+21
2022-12-15Point at method chains on `E0271` errorsEsteban Küber-89/+119
2022-12-15Auto merge of #105746 - matthiaskrgr:rollup-sz3grbv, r=matthiaskrgrbors-18/+26
2022-12-15Rollup merge of #105633 - compiler-errors:term-agnostic, r=oli-obkMatthias Krüger-18/+26
2022-12-15Auto merge of #105285 - compiler-errors:conflicting-param-env-2, r=estebankbors-28/+99
2022-12-14Tweak output for bare `dyn Trait` in argumentsEsteban Küber-8/+20
2022-12-14always use anonymize_bound_varsMichael Goulet-4/+4
2022-12-14Highlight conflicting param-env candidates, againMichael Goulet-28/+99
2022-12-14Make report_projection_error more term agnosticMichael Goulet-18/+26
2022-12-14drive-by: Fix path spansMichael Goulet-1/+1
2022-12-14Use impl's def id when calculating type to specify UFCSMichael Goulet-4/+5
2022-12-14Fix a freshly detected wrong TraitRefOli Scherer-9/+5
2022-12-14Prevent the creation of `TraitRef` without dedicated methodsOli Scherer-5/+2
2022-12-14Ensure no one constructs `AliasTy`s themselvesOli Scherer-8/+8
2022-12-14Remove many more cases of `mk_substs_trait` that can now use the iterator sch...Oli Scherer-8/+3
2022-12-14Rename to match similar methodsOli Scherer-4/+4
2022-12-14Guard `AliasTy` creation against passing the wrong number of substsOli Scherer-17/+9
2022-12-14skip if val has ecaping bound varsouz-a-13/+15
2022-12-14Rollup merge of #105595 - TaKO8Ki:suggest-dereferencing-receiver-argument, r=...Matthias Krüger-6/+28
2022-12-14Rollup merge of #105523 - estebank:suggest-collect-vec, r=compiler-errorsMatthias Krüger-56/+23
2022-12-14Clean up mut keyword checkDeep Majumder-7/+3
2022-12-14Auto merge of #104986 - compiler-errors:opaques, r=oli-obkbors-117/+101
2022-12-13Auto merge of #105667 - matthiaskrgr:rollup-fexlc0b, r=matthiaskrgrbors-21/+11
2022-12-14suggest dereferencing receiver arguments properlyTakayuki Maeda-6/+28
2022-12-13Mention implementations that satisfy the traitEsteban Küber-2/+19
2022-12-13Remove unnecessary code and account for turbofish suggestionEsteban Küber-54/+4
2022-12-13Address nitsMichael Goulet-6/+1
2022-12-13Combine identical alias armsMichael Goulet-26/+13
2022-12-13Combine projection and opaque into aliasMichael Goulet-50/+59
2022-12-13squash OpaqueTy and ProjectionTy into AliasTyMichael Goulet-26/+23
2022-12-13ProjectionTy.item_def_id -> ProjectionTy.def_idMichael Goulet-55/+49
2022-12-13Use ty::OpaqueTy everywhereMichael Goulet-12/+14
2022-12-13tidy: ignore filelengthakida31-0/+1
2022-12-13reduce to single suggestion for all argumentsakida31-13/+24
2022-12-13remove manual `fn_decl` extractionakida31-17/+3
2022-12-13change error messageakida31-2/+2
2022-12-13move changes to an extra functionakida31-66/+76
2022-12-13Remove `hint` from help messageakida31-2/+2
2022-12-13Improve diagnostic when passing arg to closure and missing borrow.akida31-0/+73
2022-12-13Remove invalid case for mutable borrow suggestionDeep Majumder-0/+11
2022-12-13Use a label instead of a note for the drop site to create denser diagnosticsOli Scherer-10/+1
2022-12-13Make some diagnostics not depend on the source of what they reference being a...Oli Scherer-11/+10
2022-12-13Rollup merge of #105332 - estebank:iterator-chains, r=oli-obkMatthias Krüger-62/+420