about summary refs log tree commit diff
path: root/src/test/ui/chalkify
AgeCommit message (Collapse)AuthorLines
2019-04-18hide `--explain` hint if error has no extended infoAndy Russell-1/+1
2019-03-20Fix a bug in implied boundsscalexm-3/+3
2019-03-20Gather region constraints not coming from unificationscalexm-2/+0
2019-03-11Update testsVadim Petrochenkov-15/+15
2018-12-31Improve type mismatch error messagesYuning Zhang-1/+1
Replace "integral variable" with "integer" and replace "floating-point variable" with "floating-point number" to make the message less confusing.
2018-12-27Add testsscalexm-0/+54
2018-12-25Remove licensesMark Rousskov-93/+13
2018-11-13Implement `ProjectionEq-Normalize`csmoe-0/+1
2018-11-13Use a dummy outlives requirement for `where Type:,` (see #53696)scalexm-2/+2
A `WF(Type)` predicate was used previously, which did not play well with implied bounds in chalk.
2018-11-13Bypass ppaux for `Outlives` predicatesscalexm-11/+11
2018-11-13Provide program clauses for builtin typesscalexm-0/+2
2018-11-13Pretty print quantified goals and clausesscalexm-64/+51
2018-10-17Add tests for `program_clauses_for_env`scalexm-3/+97
2018-10-08Add chalk rules related to associated type defsscalexm-11/+21
* Rule ProjectionEq-Skolemize * Rule WellFormed-AssocTy * Rule Implied-Trait-From-AssocTy
2018-10-03Remove duplicate predicates in `explicit_predicates_of`scalexm-4/+2
Fixes #52187.
2018-08-31rustc_typeck: turn `where Type:,` into a WF(Type) predicate, instead of ↵Eduard-Mihai Burtescu-2/+11
ignoring it.
2018-08-27fix some anon paramsMark Mansi-7/+7
2018-07-07update testscsmoe-6/+3
2018-07-05merge wellformed(wc)scsmoe-13/+7
2018-07-05update testcsmoe-0/+16
2018-07-02introduce `predicates_defined_on` for traitsNiko Matsakis-2/+2
This new query returns only the predicates *directly defined* on an item (in contrast to the more common `predicates_of`, which returns the predicates that must be proven to reference an item). These two sets are almost always identical except for traits, where `predicates_of` includes an artificial `Self: Trait<...>` predicate (basically saying that you cannot use a trait item without proving that the trait is implemented for the type parameters). This new query is only used in chalk lowering, where this artificial `Self: Trait` predicate is problematic. We encode it in metadata but only where needed since it is kind of repetitive with existing information. Co-authored-by: Tyler Mandry <tmandry@gmail.com>
2018-06-07Add tests for `WellFormed-Type` and `FromEnv-Type` rulesscalexm-0/+30
2018-06-07Remove `FromEnv(ProjectionEq(...))` from testsscalexm-1/+1
2018-04-23sort strings on outputNiko Matsakis-9/+9
2018-04-23first draft of `program_clauses_for_env`Niko Matsakis-0/+48
This computes the transitive closure of traits that appear in the environment and then appends their clauses. It needs some work, but it's in the right direction.
2018-04-23in unit tests, use `note` to dump multiple program clausesNiko Matsakis-100/+38
(rather than issuing multiple errors) Also, reorder so that the annotations are considered "used" when the lint runs.
2018-04-15Stop duplicating where clauses from impl's.Fabian Zaiser-1/+1
2018-04-15Implement Chalk lowering rule Normalize-From-ImplFabian Zaiser-1/+16
2018-04-06chalkify: Implement Rule Implied-Bound-From-TraitTyler Mandry-1/+147
2018-03-20Add unit test for Implemented-From-Envvarkor-0/+30
2018-03-14Address niko's nitsscalexm-1/+1
2018-03-14Add MVP for chalkificationscalexm-0/+28