summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/traits/specialize/mod.rs
AgeCommit message (Expand)AuthorLines
2023-05-05Report nicer lifetime errors for specializationMatthew Jasper-3/+31
2023-05-05Normalize consistently for specializationsMatthew Jasper-17/+22
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-1/+1
2023-03-19Delay overlap errors if errors are involvedMichael Goulet-1/+5
2023-03-15always make `define_opaque_types` explicitlcnr-1/+2
2023-03-09Use param's real type in try_eval_lit_or_paramMichael Goulet-3/+3
2023-02-16remove bound_type_of query; make type_of return EarlyBinder; change type_of i...Kyle Matsuda-1/+1
2023-02-16change usages of type_of to bound_type_ofKyle Matsuda-1/+7
2023-01-14fix various subst_identity vs skip_binderKyle Matsuda-1/+1
2023-01-14change impl_trait_ref query to return EarlyBinder; remove bound_impl_trait_re...Kyle Matsuda-3/+3
2023-01-14change usages of impl_trait_ref to bound_impl_trait_refKyle Matsuda-2/+2
2022-11-27Prefer doc comments over `//`-comments in compilerMaybe Waffle-1/+1
2022-11-25Introduce PredicateKind::ClauseSantiago Pastorino-1/+3
2022-11-23Use ObligationCtxt intead of dyn TraitEngineSantiago Pastorino-6/+6
2022-11-14Rollup merge of #104229 - compiler-errors:overlap-full-path, r=davidtwcoMatthias Krüger-35/+40
2022-11-10Don't print full paths in overlap errorsMichael Goulet-35/+40
2022-11-09Remove save_and_restore_in_snapshot_flagMichael Goulet-26/+24
2022-11-08Reduce the scope of allow(rustc::potential_query_instability) in rustc_trait_...CastilloDel-2/+2
2022-10-07Change InferCtxtBuilder from enter to buildCameron Steffen-10/+5
2022-10-07Remove TypeckResults from InferCtxtCameron Steffen-4/+4
2022-10-01Refactor rustc lint APIMaybe Waffle-33/+25
2022-09-19remove the `Subst` trait, always use `EarlyBinder`lcnr-1/+1
2022-09-01Porting 'compiler/rustc_trait_selection' to translatable diagnostics - Part 1Gabriel Bustamante-29/+8
2022-08-04Add `traits::fully_solve_obligation` that acts like `traits::fully_normalize`Michael Goulet-9/+4
2022-08-04Remove FulfillmentContext param from fully_normalizeMichael Goulet-1/+0
2022-08-03Rollup merge of #99795 - compiler-errors:delay-specialization-normalize-error...Matthias Krüger-4/+6
2022-08-03Delay a bug when failed to normalize trait ref during specializationMichael Goulet-4/+6
2022-07-26Use TraitEngine in more places that don't specifically need FulfillmentCtxt::...Michael Goulet-4/+6
2022-07-21move `considering_regions` to the infcxlcnr-12/+1
2022-07-11Rollup merge of #99095 - rhysd:issue-99092, r=compiler-errorsMatthias Krüger-2/+2
2022-07-10Remove duplicate notes from error on inter-crate ambiguous impl of traits (fi...rhysd-2/+2
2022-07-10avoid some `&str` to `String` conversionsTakayuki Maeda-1/+1
2022-07-06Rollup merge of #98519 - TaKO8Ki:add-head-span-field-to-item-and-impl-item, r...Guillaume Gomez-18/+5
2022-07-06use `named_span` in case of tuple variantTakayuki Maeda-1/+1
2022-07-06replace `guess_head_span` with `def_span`Takayuki Maeda-18/+5
2022-07-05lint: `LintDiagnosticBuilder` into `rustc_errors`David Wood-2/+1
2022-06-22Perform coherence checking per impl.Camille GILLOT-1/+1
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-1/+1
2022-05-13Add bound_impl_trait_refJack Huey-3/+3
2022-05-10Introduce EarlyBinderJack Huey-3/+3
2022-05-02fix most compiler/ doctestsElliot Roberts-2/+2
2022-03-24Implement impl_subject_and_oblig instead of repeating the implsSantiago Pastorino-9/+11
2022-03-16rustc_error: make ErrorReported impossible to constructmark-13/+28
2022-02-27Auto merge of #94144 - est31:let_else_trait_selection, r=cjgillotbors-12/+9
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-1/+1
2022-02-19rustc_trait_selection: adopt let else in more placesest31-12/+9
2022-02-15Overhaul `TyS` and `Ty`.Nicholas Nethercote-1/+1
2022-01-31Do not store overlap_mode, just pass it down on insertSantiago Pastorino-2/+2
2022-01-31Move overlap_mode into trait level attribute + feature flagSantiago Pastorino-0/+1
2022-01-26Improve selection errors for `~const` trait boundsDeadbeef-1/+10