summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/solve/trait_goals.rs
AgeCommit message (Expand)AuthorLines
2023-08-15Rollup merge of #114829 - compiler-errors:next-solver-only-unsize-to-dyn-once...Guillaume Gomez-43/+51
2023-08-15Separate consider_unsize_to_dyn_candidate from other unsize candidatesMichael Goulet-43/+51
2023-08-15Probe when assembling upcast candidates so they don't step on eachother's toesMichael Goulet-10/+12
2023-08-12normalize in `trait_ref_is_knowable` in new solverlcnr-38/+1
2023-08-04Rollup merge of #114287 - lcnr:overflow, r=compiler-errorsMichael Goulet-32/+20
2023-08-03short-circuit when proj def ids differMichael Goulet-9/+14
2023-08-03Rework upcastingMichael Goulet-37/+88
2023-08-03handle overflow in the `EvalCtxt` separatelylcnr-22/+18
2023-08-03avoid more `ty::Binder:dummy`lcnr-10/+2
2023-07-31Rollup merge of #114169 - lcnr:unsize, r=compiler-errorsMatthias Krüger-199/+245
2023-07-28fix commentlcnr-1/+1
2023-07-28refactor builtin unsize handling, extend commentslcnr-199/+245
2023-07-27Remove `constness` from `ParamEnv`Deadbeef-8/+5
2023-07-25Make everything builtin!Michael Goulet-67/+83
2023-07-25Consolidate trait upcasting and unsize into one normalizationMichael Goulet-170/+213
2023-07-25Normalize the RHS of an unsize goalMichael Goulet-64/+132
2023-07-21Revert "Auto merge of #113166 - moulins:ref-niches-initial, r=oli-obk"David Tolnay-14/+3
2023-07-21Track ABI info. in `NaiveLayout`, and use it for `PointerLike` checksMoulins-3/+14
2023-07-20assembly: only consider blanket impls oncelcnr-1/+8
2023-07-20XSimplifiedType to SimplifiedType::Xlcnr-1/+1
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-24/+23
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-5/+3
2023-07-07Auto merge of #113245 - lukas-code:unsizing-sanity-check, r=the8472bors-6/+1
2023-07-06Don't call type_of on TAIT in defining scope in new solverMichael Goulet-0/+27
2023-07-06add helper methods for accessing struct tailLukas Markeffsky-6/+1
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-3/+3
2023-07-04add `ecx.probe_candidate`lcnr-145/+130
2023-06-21Rollup merge of #112772 - compiler-errors:clauses-1, r=lcnrNilstrieb-1/+1
2023-06-20split probe into 2 functions for better readabilitylcnr-63/+52
2023-06-19Fully fledged Clause typeMichael Goulet-1/+1
2023-06-19s/Clause/ClauseKindMichael Goulet-1/+1
2023-06-19introduce a separate set of types for finalized proof treesBoxy-54/+61
2023-06-19initial info dumpBoxy-164/+185
2023-06-17Auto merge of #108860 - oli-obk:tait_alias, r=compiler-errorsbors-1/+1
2023-06-16Add `AliasKind::Weak` for type aliases.Oli Scherer-1/+1
2023-06-15Make assumption functions in new solver take clauseMichael Goulet-5/+5
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-09Consolidate the 'match assumption' type methods in GoalKindMichael Goulet-68/+3
2023-05-09Make alias bounds sound in the new solverMichael Goulet-0/+24
2023-05-04IAT: Introduce AliasKind::InherentLeón Orell Valerian Liehr-1/+1
2023-05-04Auto merge of #110806 - WaffleLapkin:unmkI, r=lcnrbors-16/+9
2023-04-26Switch `ty::TraitRef::from_lang_item` from using `TyCtxtAt` to `TyCtxt` and a...Maybe Waffle-1/+1
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-15/+23
2023-04-24Consider polarity in new solverMichael Goulet-3/+69
2023-04-24Rollup merge of #110514 - compiler-errors:remove-find_map_relevant_impl, r=b-...Matthias Krüger-3/+7
2023-04-19Remove find_map_relevant_implMichael Goulet-3/+7
2023-04-17Spelling - compilerJosh Soref-1/+1
2023-04-14Move auto trait built-in candidate disqualification to a separate methodMichael Goulet-77/+93