1 This directory contains the test for incorrect usage of specialization that
2 should lead to compile failure. Those tests break down into a few categories:
5 - [On use of the `default` keyword](specialization-feature-gate-default.rs)
6 - [On overlapping impls](specialization-feature-gate-overlap.rs)
8 - Overlap checking with specialization enabled
9 - [Basic overlap scenarios](specialization-overlap.rs)
10 - Includes purely structural overlap
11 - Includes purely trait-based overlap
13 - [Overlap with differing polarity](specialization-overlap-negative.rs)
15 - [Attempt to specialize without using `default`](specialization-no-default.rs)
17 - [Attempt to change impl polarity in a specialization](specialization-polarity.rs)
19 - Attempt to rely on projection of a `default` type
20 - [Rely on it externally in both generic and monomorphic contexts](specialization-default-projection.rs)
21 - [Rely on it both within an impl and outside it](specialization-default-types.rs)