summary refs log tree commit diff
path: root/src/test/compile-fail/impl-trait
AgeCommit message (Collapse)AuthorLines
2017-05-17Add better error message when == operator is badly usedGuillaume Gomez-2/+0
2017-04-10Explicit help message for binop type missmatchEsteban Küber-72/+0
When trying to do a binary operation with missing implementation, for example `1 + Some(2)`, provide an explicit help message: ``` note: no implementation for `{integer} + std::option::Option<{integer}>` ``` Use `rustc_on_unimplemented` for the suggestions. Move cfail test to ui.
2017-02-25rustc_typeck: hook up collect and item/body check to on-demand.Eduard-Mihai Burtescu-27/+7
2017-01-28rustc_typeck: move impl Trait checks out of RegionScope.Eduard-Mihai Burtescu-1/+1
2017-01-24Add testsVadim Petrochenkov-0/+15
2017-01-12Mark even more tests as gate testsest31-0/+2
Now, no feature outside of the whitelist is without a test marked as its gate test.
2016-10-24Rollup merge of #37324 - GuillaumeGomez:trait_error_message, r=jonathandturnerJonathan Turner-4/+4
Improve E0277 help message Fixes #37319. r? @jonathandturner
2016-10-21Improve E0277 help messageGuillaume Gomez-4/+4
2016-10-20improve "Doesn't live long enough" errorMikhail Modin-23/+0
2016-08-25Update E0277 to new error formatMohit Agarwal-0/+4
Fixes #35311. Part of #35233. r? @jonathandturner
2016-08-17Move 'doesn't live long enough' errors to labelsJonathan Turner-3/+3
2016-08-12test: add more extensive tests for impl Trait.Eduard Burtescu-0/+248
2016-08-12typeck: leak auto trait obligations through impl Trait.Eduard Burtescu-0/+70