f748bb1402
Min specialization improvements - Don't allow specialization impls with no items, such implementations are probably not correct and only occur as mistakes in the compiler and standard library - Fix a missing normalization call - Adds spans for lifetime errors from overly general specializations Closes #79457 Closes #109815
This directory contains the test for incorrect usage of specialization that should lead to compile failure. Those tests break down into a few categories:
-
Feature gating
-
Overlap checking with specialization enabled
- Basic overlap scenarios
- Includes purely structural overlap
- Includes purely trait-based overlap
- Includes mix
- Overlap with differing polarity
- Basic overlap scenarios
-
Attempt to rely on projection of a
default
type