summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/solve
AgeCommit message (Expand)AuthorLines
2023-05-26remove unnecessary `.ok()` callslcnr-6/+14
2023-05-26do not prefer substs relate during coherencelcnr-3/+11
2023-05-25Match on both reveal and solver mode at the same timeMichael Goulet-41/+38
2023-05-25Add InferCtxt::register_hidden_type_in_new_solverMichael Goulet-40/+24
2023-05-25Strongly prefer alias and param-env boundsMichael Goulet-5/+9
2023-05-25Pre-populate MIR with opaques, prefer subst-relate candidateMichael Goulet-28/+25
2023-05-25Check that opaque is a defining use, prefer pre-defined opaquesMichael Goulet-14/+91
2023-05-25Prepopulate opaques in canonical inputMichael Goulet-77/+170
2023-05-25Pull out logic from #111131, plus some new logic in EvalCtxt::normalize_opaqu...Michael Goulet-4/+56
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-1/+1
2023-05-23Don't ICE when computing PointerLike trait when region vars are in param-envMichael Goulet-5/+9
2023-05-17Exclude inherent projections from some alias ty matchesLeón Orell Valerian Liehr-1/+3
2023-05-16Use error term if missing associated item in new solverMichael Goulet-1/+15
2023-05-09Consolidate the 'match assumption' type methods in GoalKindMichael Goulet-140/+47
2023-05-09Make alias bounds sound in the new solverMichael Goulet-2/+162
2023-05-04IAT: Introduce AliasKind::InherentLeón Orell Valerian Liehr-2/+2
2023-05-04Auto merge of #110806 - WaffleLapkin:unmkI, r=lcnrbors-20/+16
2023-04-29Rollup merge of #110614 - compiler-errors:new-solver-overflow-response, r=lcnrDylan DPC-20/+79
2023-04-27rename `needs_infer` to `has_infer`Boxy-1/+1
2023-04-26Split out make_ambiguous_response_no_constraintsMichael Goulet-30/+53
2023-04-26Clear response values for overflow in new solverMichael Goulet-9/+45
2023-04-26Switch `ty::TraitRef::from_lang_item` from using `TyCtxtAt` to `TyCtxt` and a...Maybe Waffle-3/+4
2023-04-26Remove some more useless `ty::Binder::dummy` callsMaybe Waffle-2/+2
2023-04-26Make some region folders a little stricter.Nicholas Nethercote-4/+5
2023-04-25Rollup merge of #110671 - compiler-errors:polarity, r=lcnrMatthias Krüger-3/+69
2023-04-25Remove some useless `ty::Binder::dummy` callsMaybe Waffle-20/+5
2023-04-25Replace `tcx.mk_trait_ref` with `ty::TraitRef::new`Maybe Waffle-18/+28
2023-04-24Consider polarity in new solverMichael Goulet-3/+69
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-3/+3
2023-04-24Rollup merge of #110514 - compiler-errors:remove-find_map_relevant_impl, r=b-...Matthias Krüger-3/+7
2023-04-22Expect that equating a projection term always succeeds in new solverMichael Goulet-5/+10
2023-04-21Auto merge of #96840 - cjgillot:query-feed, r=oli-obkbors-1/+1
2023-04-20Result is just bool but specialMichael Goulet-7/+9
2023-04-20Remove WithOptconstParam.Camille GILLOT-1/+1
2023-04-20Track if EvalCtxt has been tainted, make sure it can't be used to make query ...Michael Goulet-0/+20
2023-04-19Remove find_map_relevant_implMichael Goulet-3/+7
2023-04-17Spelling - compilerJosh Soref-6/+6
2023-04-17Rollup merge of #110394 - scottmcm:less-idx-new, r=WaffleLapkinMatthias Krüger-6/+7
2023-04-16Erase regions when confirming transmutability candidateMichael Goulet-1/+1
2023-04-16Various minor Idx-related tweaksScott McMurray-6/+7
2023-04-14Rollup merge of #110207 - compiler-errors:new-solver-unpin, r=lcnrMatthias Krüger-61/+102
2023-04-14Rollup merge of #110180 - lcnr:canonicalize, r=compiler-errorsMatthias Krüger-14/+11
2023-04-14Move auto trait built-in candidate disqualification to a separate methodMichael Goulet-77/+101
2023-04-14Assemble Unpin candidates specially for generators in new solverMichael Goulet-1/+18
2023-04-12Auto merge of #110252 - matthiaskrgr:rollup-ovaixra, r=matthiaskrgrbors-5/+24
2023-04-12Rollup merge of #110103 - compiler-errors:new-solver-overflows, r=lcnrMatthias Krüger-5/+24
2023-04-12Rollup merge of #110153 - DaniPopes:compiler-typos, r=NilstriebMatthias Krüger-6/+6
2023-04-12Auto merge of #107614 - compiler-errors:allow-elaborator-to-filter-only-super...bors-1/+4
2023-04-11Rollup merge of #110126 - compiler-errors:new-solver-safe-transmute, r=oli-obkMichael Goulet-0/+64
2023-04-11Allow the elaborator to only filter to real supertraitsMichael Goulet-1/+4