summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/traits/wf.rs
AgeCommit message (Expand)AuthorLines
2023-01-21Encode whether foreign opaques are TAITs or notMichael Goulet-1/+1
2022-12-05support `Expr` in `is_const_evaluatable` and `compute`Boxy-2/+17
2022-11-25Auto merge of #99798 - JulianKnodt:ac1, r=BoxyUwUbors-0/+5
2022-11-25add FIXME for things that I couldn't find ways to triggerBoxy-3/+4
2022-11-25Add empty ConstKind::Abstractkadmin-0/+4
2022-11-25Introduce PredicateKind::ClauseSantiago Pastorino-12/+15
2022-11-22Rollup merge of #103488 - oli-obk:impl_trait_for_tait, r=lcnrManish Goregaokar-0/+2
2022-11-21Stop passing the self-type as a separate argument.Oli Scherer-1/+1
2022-11-21Add helper to create the trait ref for a lang itemOli Scherer-2/+1
2022-11-21Allow iterators instead of requiring slices that will get turned into iteratorsOli Scherer-5/+2
2022-11-21Assert that various types have the right amount of generic args and fix the s...Oli Scherer-4/+5
2022-11-21Add an always-ambiguous predicate to make sure that we don't accidentlally al...Oli Scherer-0/+2
2022-11-19drive-by: PolyExistentialPredicateMichael Goulet-2/+2
2022-11-16Convert predicates into Predicate in the Obligation constructorOli Scherer-17/+27
2022-11-09Use `nominal_obligations_without_const` in wf for FnDefDeadbeef-1/+1
2022-10-29Rename some `OwnerId` fields.Nicholas Nethercote-3/+5
2022-10-25Move a wf-check into the site where the value is instantiatedOli Scherer-26/+0
2022-10-18change `ConstEvaluatable` to use `ty::Const`lcnr-11/+6
2022-10-10Rollup merge of #102829 - compiler-errors:rename-impl-item-kind, r=TaKO8KiYuki Okushi-1/+1
2022-10-09ImplItemKind::TyAlias => ImplItemKind::TypeMichael Goulet-1/+1
2022-10-07Remove TypeckResults from InferCtxtCameron Steffen-7/+7
2022-10-04Merge the `~const` and `impl const` checks and add some explanatory notesOli Scherer-2/+24
2022-10-04Only allow ~const bounds for traits with #[const_trait]Oli Scherer-0/+4
2022-09-22Auto merge of #100982 - fee1-dead-contrib:const-impl-requires-const-trait, r=...bors-1/+2
2022-09-17Auto merge of #98588 - b-naber:valtrees-cleanup, r=lcnrbors-1/+1
2022-09-16Do not require const predicates to hold when checking if a projection type is wfDeadbeef-1/+2
2022-09-13use ty::Unevaluated<'tcx, ()> in type systemb-naber-1/+1
2022-09-12Plumb dyn trait representation through ty::DynamicEric Holk-1/+1
2022-09-08Create VarValue::EmptyJack Huey-0/+4
2022-09-07Rollup merge of #101503 - spastorino:add-debug-calls, r=compiler-errorsMatthias Krüger-0/+3
2022-09-07Add instrument and debug callsSantiago Pastorino-0/+3
2022-09-05Pack `Term` in the same way as `GenericArg`.Nicholas Nethercote-3/+3
2022-09-01tracing::instrument cleanupOli Scherer-1/+1
2022-08-21Rework point-at-argMichael Goulet-1/+1
2022-08-13wf correctly shallow_resolve constslcnr-9/+7
2022-07-24Instantiate constness in wfcheckDeadbeef-8/+35
2022-07-18Check generators for well formednessOli Scherer-6/+8
2022-07-10Don't pass InferCtxt to WfPredicatesJack Huey-23/+29
2022-07-10Don't try to resolve inference variables in WF computation, just registerJack Huey-35/+17
2022-07-08Auto merge of #98816 - estebank:implicit-sized, r=oli-obkbors-6/+6
2022-07-07Move code from rustc_trait_selection/opaque_types to better placesJack Huey-1/+60
2022-07-07Track `WellFormed` obligations with an appropriate cause, instead of `MiscObl...Esteban Küber-6/+6
2022-07-06Update TypeVisitor pathsAlan Egerton-1/+1
2022-06-14Rename the `ConstS::val` field as `kind`.Nicholas Nethercote-4/+4
2022-06-01remove an unnecessary `Option`Takayuki Maeda-3/+10
2022-05-17Auto merge of #96892 - oli-obk:🐌_obligation_cause_code_🐌, r=estebankbors-18/+10
2022-05-13Check that closures satisfy their where boundsOli Scherer-8/+16
2022-05-10Move an extension trait method onto the type directly and reuse itOli Scherer-8/+4
2022-05-10Don't lose an obligation causeOli Scherer-2/+0
2022-05-10Remove some unnecessary clonesOli Scherer-19/+17