about summary refs log tree commit diff
path: root/compiler/rustc_infer/src/traits
AgeCommit message (Expand)AuthorLines
2022-07-15remove tcx from ObligationCauseCode::spanMichael Goulet-4/+1
2022-07-15Remove some more usages of guess_head_spanMichael Goulet-8/+9
2022-07-08Auto merge of #98614 - oli-obk:take_unsound_opaque_types, r=wesleywiserbors-1/+1
2022-07-06replace `guess_head_span` with `def_span`Takayuki Maeda-3/+5
2022-07-06Update TypeVisitor pathsAlan Egerton-2/+2
2022-07-05Explicit TypeVisitable implementationsAlan Egerton-0/+3
2022-07-05Add #[derive(TypeVisitable)]Alan Egerton-1/+1
2022-06-30use a method instead of manually doing what its body doesOli Scherer-1/+1
2022-06-29avoid many `&str` to `String` conversions with `MultiSpan::push_span_label`Takayuki Maeda-2/+1
2022-06-08Folding revamp.Nicholas Nethercote-5/+2
2022-05-10Remove `clone_code` methodOli Scherer-1/+1
2022-05-10Move an extension trait method onto the type directly and reuse itOli Scherer-1/+8
2022-04-05span: move `MultiSpan`David Wood-2/+2
2022-04-01convert more `DefId`s to `LocalDefId`lcnr-3/+3
2022-03-028 - Make more use of `let_chains`Caio-6/+4
2022-03-02rename ErrorReported -> ErrorGuaranteedmark-3/+3
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-3/+3
2022-02-15Overhaul `Const`.Nicholas Nethercote-1/+1
2022-02-14Call the method fork instead of clone and add proper commentsSantiago Pastorino-1/+1
2022-02-11Revert "Auto merge of #92007 - oli-obk:lazy_tait2, r=nikomatsakis"Oli Scherer-3/+0
2022-02-02Lazily resolve type-alias-impl-trait defining usesOli Scherer-0/+3
2022-01-28Remove generalization over projectionkadmin-2/+6
2022-01-16Rollup merge of #92710 - jackh726:issue-92280, r=nikomatsakisMatthias Krüger-4/+13
2022-01-15Rollup merge of #92191 - jackh726:issue-89352, r=nikomatsakisMatthias Krüger-1/+1
2022-01-10Elaborate param_env predicates when checking if type outlives involving proje...Jack Huey-4/+13
2021-12-22When obligation is a sized predicate, prefer projection or object candidates ...Jack Huey-1/+1
2021-12-20Eliminate `ObligationCauseData`.Nicholas Nethercote-1/+1
2021-12-19Rollup merge of #91878 - LegionMammal978:less-inband-infer, r=Aaron1011Matthias Krüger-9/+9
2021-12-18Re-introduce concept of projection cache 'completion'Aaron Hill-3/+69
2021-12-13Remove `in_band_lifetimes` from `rustc_infer`LegionMammal978-9/+9
2021-12-12Revert "Auto merge of #91491 - spastorino:revert-91354, r=oli-obk"Deadbeef-24/+16
2021-12-03Revert "Auto merge of #91354 - fee1-dead:const_env, r=spastorino"Santiago Pastorino-16/+24
2021-12-02Rename TypeFolderFallible to FallibleTypeFolderAlan Egerton-2/+2
2021-12-02Reduce boilerplate around infallible foldersAlan Egerton-4/+7
2021-11-29Reformat everythingDeadbeef-4/+2
2021-11-29Completely remove ConstnessAndOli Scherer-2/+2
2021-11-29Avoid storing the ImplPolarity and Constness next to a TraitRef and use Trait...Oli Scherer-4/+4
2021-11-29Use the constness from the param env instead of having a separate dimension f...Oli Scherer-18/+12
2021-11-28Auto merge of #91230 - eggyal:fallible-type-fold, r=jackh726bors-5/+5
2021-11-26Make `TypeFoldable` implementors short-circuit on errorLeSeulArtichaut-5/+5
2021-11-25Visit `param_env` field in Obligation's `TypeFoldable` implAaron Hill-1/+2
2021-11-14Fix span for non-satisfied trivial trait boundsNilstrieb-0/+17
2021-11-11Auto merge of #90648 - matthewjasper:assoc-item-cleanup, r=cjgillotbors-3/+2
2021-11-08fmtDeadbeef-8/+3
2021-11-08Make select_* methods return Vec for TraitEngineDeadbeef-4/+4
2021-11-07Remove some fields from `ObligationCauseCode`Matthew Jasper-3/+2
2021-10-23Auto merge of #90104 - spastorino:coherence-for-negative-trait, r=nikomatsakisbors-1/+19
2021-10-22Document flip polaritySantiago Pastorino-0/+3
2021-10-20Add TraitObligation::polarity() for better encapsulationSantiago Pastorino-0/+4
2021-10-20Consider negative polarity on overlap checkSantiago Pastorino-1/+12