This commit rewrites all of the tidy checks we have, namely: * featureck * errorck * tidy * binaries into Rust under a new `tidy` tool inside of the `src/tools` directory. This at the same time deletes all the corresponding Python tidy checks so we can be sure to only have one source of truth for all the tidy checks. cc #31590 |
||
|---|---|---|
| .. | ||
| README.md | ||
| specialization-default-projection.rs | ||
| specialization-default-types.rs | ||
| specialization-feature-gate-default.rs | ||
| specialization-feature-gate-overlap.rs | ||
| specialization-no-default.rs | ||
| specialization-overlap-negative.rs | ||
| specialization-overlap.rs | ||
| specialization-polarity.rs | ||
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
defaulttype