rust/src/test/run-pass/specialization
Ariel Ben-Yehuda 55180d04f2 erase lifetimes when translating specialized substs
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-12-05 00:41:13 +02:00
..
auxiliary
README.md
specialization-allowed-cross-crate.rs
specialization-assoc-fns.rs
specialization-basics.rs
specialization-cross-crate-defaults.rs
specialization-cross-crate-no-gate.rs
specialization-cross-crate.rs
specialization-default-methods.rs
specialization-on-projection.rs
specialization-out-of-order.rs
specialization-overlap-projection.rs
specialization-projection-alias.rs
specialization-projection.rs
specialization-super-traits.rs
specialization-translate-projections-with-lifetimes.rs
specialization-translate-projections-with-params.rs
specialization-translate-projections.rs

Tests that specialization is working correctly: