about summary refs log tree commit diff
path: root/src/test/ui/polymorphization/const_parameters
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-165/+0
2022-10-01bless ui testsMaybe Waffle-2/+2
2022-07-07Shorten span for closures.Camille GILLOT-3/+3
2022-04-04diagnostics: use correct span for const genericsMichael Howell-5/+5
Fixes #95616
2021-08-30`feature(const_generics)` -> `feature(const_param_types)`lcnr-12/+12
2020-12-26update testsBastian Kauschke-2/+0
2020-10-17Suggest minimal subset features in `incomplete_features` lintYuki Okushi-0/+2
2020-07-22sess: disable polymorphisationDavid Wood-7/+9
This commit disables polymorphisation to resolve regressions related to closures which inherit unused generic parameters and are then used in casts or reflection. Signed-off-by: David Wood <david@davidtw.co>
2020-07-20mir: use attribute over `-Z polymorphize-errors`David Wood-18/+26
This commit replaces the `-Z polymorphize-errors` debugging flag with a `#[rustc_polymorphize_error]` attribute for use on functions. Signed-off-by: David Wood <david@davidtw.co>
2020-07-20mir: `unused_generic_params` queryDavid Wood-0/+155
This commit implements the `unused_generic_params` query, an initial version of polymorphization which detects when an item does not use generic parameters and is being needlessly monomorphized as a result. Signed-off-by: David Wood <david@davidtw.co>