Move overlap_mode into trait level attribute + feature flag

This commit is contained in:
Santiago Pastorino 2022-01-30 18:55:22 -03:00
parent 427eba2f0b
commit a9bfb5d837
No known key found for this signature in database
GPG key ID: 8131A24E0C79EFAF
17 changed files with 121 additions and 75 deletions

View file

@ -161,6 +161,9 @@ declare_features! (
(active, staged_api, "1.0.0", None, None),
/// Added for testing E0705; perma-unstable.
(active, test_2018_feature, "1.31.0", None, Some(Edition::Edition2018)),
/// Use for stable + negative coherence and strict coherence depending on trait's
/// rustc_strict_coherence value.
(active, with_negative_coherence, "1.60.0", None, None),
// !!!! !!!! !!!! !!!! !!!! !!!! !!!! !!!! !!!! !!!! !!!!
// Features are listed in alphabetical order. Tidy will fail if you don't keep it this way.
// !!!! !!!! !!!! !!!! !!!! !!!! !!!! !!!! !!!! !!!! !!!!