about summary refs log tree commit diff
path: root/src/test/run-pass/specialization
AgeCommit message (Collapse)AuthorLines
2019-07-27tests: Move run-pass tests with naming conflicts to uiVadim Petrochenkov-71/+0
2019-07-27tests: Move run-pass tests without naming conflicts to uiVadim Petrochenkov-954/+0
2018-12-25Remove licensesMark Rousskov-271/+0
2018-10-08Reattach all grandchildren when constructing specialization graph.Masaki Hara-0/+29
This commit fixes the issue #50452.
2018-09-26Add `#![allow(..)]` as necessary to get re-migrated run-pass tests compiling ↵Felix S. Klock II-0/+11
with clean stderr again. Most were added mechanically.
2018-09-26Migrate `src/test/ui/run-pass/*` back to `src/test/run-pass/`.Felix S. Klock II-0/+1256
Fix #54047
2018-09-06Migrated remaining `src/test/run-pass/` subdirectories to ↵Felix S. Klock II-1212/+0
`src/test/ui/run-pass/`.
2018-02-15add Self: Trait<..> inside the param_env of a default implGianni Ciccarelli-1/+9
2018-02-09add Self: Trait<..> inside the param_env of a default implGianni Ciccarelli-1/+1
2018-02-07support `default impl` for specializationGianni Ciccarelli-784/+8
a default impl should never be considered as implementing the trait on its own -- regardless of whether it contains all items or not
2018-02-07 support `default impl` for specializationGianni Ciccarelli-0/+168
a `default impl` need not include all items from the trait a `default impl` alone does not mean that a type implements the trait
2017-11-30Rename long test names to be a bit shorterAlex Crichton-3/+3
Helps to avoid hitting path limits on Windows
2017-10-11Shorten some test namesVadim Petrochenkov-9/+9
Paths to object files generated from them were too long and caused errors
2017-05-16Add test cases for cyclic specialization graph constructionMichael Woerister-0/+33
2017-04-26 support `default impl` for specializationGianni Ciccarelli-11/+11
`[default] [unsafe] impl` and typecheck
2017-04-25 support `default impl` for specializationGianni Ciccarelli-0/+106
pr review
2017-04-24support `default impl` for specializationGianni Ciccarelli-0/+729
this commit implements the first step of the `default impl` feature: all items in a `default impl` are (implicitly) `default` and hence specializable. In order to test this feature I've copied all the tests provided for the `default` method implementation (in run-pass/specialization and compile-fail/specialization directories) and moved the `default` keyword from the item to the impl. See referenced issue for further info
2016-12-05erase lifetimes when translating specialized substsAriel Ben-Yehuda-0/+41
Projections can generate lifetime variables with equality constraints, that will not be resolved by `resolve_type_vars_if_possible`, so substs need to be lifetime-erased after that. Fixes #36848.
2016-05-06s/aux/auxiliary, because windowsNiko Matsakis-0/+0
For legacy reasons (presumably), Windows does not permit files name aux.
2016-05-06move auxiliary builds to a test-relative `aux`Niko Matsakis-0/+184
Instead of finding aux-build files in `auxiliary`, we now search for an `aux` directory relative to the test. So if your test is `compile-fail/foo.rs`, we would look in `compile-fail/aux`. Similarly, we ignore the `aux` directory when searching for tets.
2016-04-06avoid "==" in assert! when one of the values is a boolTshepang Lekhonkhobe-8/+8
2016-03-14Add pretty printer output for `default`Aaron Turon-1/+2
2016-03-14Test fixes, added README for testsAaron Turon-2/+150
2016-03-14Move tests to dedicated subdirectoriesAaron Turon-0/+570