codex: address PR review feedback (#15922)

This commit is contained in:
Eric Traut
2026-03-27 00:20:13 -06:00
parent 74d446ef26
commit 150b786b06
+2 -5
View File
@@ -31,11 +31,8 @@ fn default_enabled_features_are_stable() {
for spec in crate::FEATURES {
if spec.default_enabled {
assert!(
matches!(
spec.stage,
Stage::Stable | Stage::Deprecated | Stage::Removed
),
"feature `{}` is enabled by default but is not stable/deprecated/removed ({:?})",
matches!(spec.stage, Stage::Stable | Stage::Removed),
"feature `{}` is enabled by default but is not stable/removed ({:?})",
spec.key,
spec.stage
);