about summary refs log tree commit diff
path: root/src/test/ui/const-generics/parser-error-recovery
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-173/+0
2022-06-16diagnostics: fix trailing spaceklensy-2/+2
2022-04-04diagnostics: use correct span for const genericsMichael Howell-2/+2
Fixes #95616
2022-01-17Add term to ExistentialProjectionkadmin-4/+24
Also prevent ICE when adding a const in associated const equality.
2022-01-17Use Term in ProjectionPredicatekadmin-16/+32
ProjectionPredicate should be able to handle both associated types and consts so this adds the first step of that. It mainly just pipes types all the way down, not entirely sure how to handle consts, but hopefully that'll come with time.
2021-09-28feat(rustc_typeck): avoid erroring with "wrong number of generics" if ↵Michael Howell-42/+6
there's other problems As shown in the two test requirements that got updated, if there's other problems, then those other problems are probably the root cause of the incorrect generics count.
2021-09-28Improve error messages for bad type constraintsMichael Howell-19/+14
Co-authored-by: Esteban Kuber <esteban@kuber.com.ar>
2021-09-28Use less verbose syntax for error annotationsMichael Howell-4/+4
Co-authored-by: Esteban Kuber <estebank@users.noreply.github.com>
2021-09-16feat(rustc_parse): recover from pre-RFC-2000 const generics syntaxMichael Howell-0/+178
Fixes #89013