about summary refs log tree commit diff
path: root/src/test/compile-fail/issue-5997-enum.rs
AgeCommit message (Collapse)AuthorLines
2018-07-15Move some `compile-fail` tests to `ui`Esteban Küber-20/+0
2016-04-07Fix fallout in testsJeffrey Seyfried-1/+0
2016-02-19Show candidates for names not in scopeVlad Ureche-1/+1
This commit adds functionality that allows the name resolution pass to search for entities (traits/types/enums/structs) by name, in order to show recommendations along with the errors. For now, only E0405 and E0412 have suggestions attached, as per the request in bug #21221, but it's likely other errors can also benefit from the ability to generate suggestions.
2015-01-08Update compile fail tests to use isize.Huon Wilson-1/+1
2014-06-06Fix resolve to not permit refs to type vars from outer fnsNiko Matsakis-2/+2
(Fixes #14603)
2014-04-17Change error for out of scope type params to be more helpful.Kevin Butler-1/+1
2014-04-17Add span to error for missing type params on enums.Kevin Butler-2/+1
2014-04-17Tests for issue 5997 failure and success conditions.Kevin Butler-0/+22
Closes #5997.