- 22 7月, 2020 1 次提交
-
-
由 David Wood 提交于
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: NDavid Wood <david@davidtw.co>
-
- 21 7月, 2020 2 次提交
-
-
由 David Wood 提交于
This commit replaces the `-Z polymorphize-errors` debugging flag with a `#[rustc_polymorphize_error]` attribute for use on functions. Signed-off-by: NDavid Wood <david@davidtw.co>
-
由 David Wood 提交于
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: NDavid Wood <david@davidtw.co>
-