about summary refs log tree commit diff
path: root/src/test/compile-fail/trait-impl-for-module.rs
AgeCommit message (Collapse)AuthorLines
2018-08-14Moved compile-fail tests to ui tests.David Wood-21/+0
2016-06-10resolve: Rewrite resolve_patternVadim Petrochenkov-1/+1
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-02-24rustc: use partially resolved definitions to replace the `T::A` hack.Eduard Burtescu-1/+1
2013-11-24Fix issue #8763Leah Hanson-0/+21
* added case & better error message for "impl trait for module" * used better way to print the module * switched from //error-pattern to //~ ERROR * added compile-fail test trait-impl-for-module.rs * revised compile-fail test trait-or-new-type-instead (the error message for the modified test is still unclear, but that's a different bug) * added FIXME to trait-or-new-type-instead