summary refs log tree commit diff
path: root/src/test/ui/const-generics/parser-error-recovery
AgeCommit message (Collapse)AuthorLines
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