@@ -87,14 +87,15 @@ impl IntoFeatureGroup for Feature {
87
87
struct Features ( Vec < Feature > ) ;
88
88
89
89
impl Features {
90
+ /// Returns all features except the exclusive ones which are not the default
90
91
fn all_features ( ) -> Self {
91
92
// remove exclusive features which are not the default
92
93
Self (
93
94
<Feature as strum:: VariantArray >:: VARIANTS
94
95
. iter ( )
95
96
. filter ( |f| {
96
97
let group = f. to_feature_group ( ) ;
97
- ( group ! = FeatureGroup :: NonExclusiveOther ) || ( * * f == group. default_feature ( ) )
98
+ ( group = = FeatureGroup :: NonExclusiveOther ) || ( * * f == group. default_feature ( ) )
98
99
} )
99
100
. cloned ( )
100
101
. collect ( ) ,
@@ -480,10 +481,15 @@ impl Xtasks {
480
481
481
482
// run powerset with all language features enabled without mutually exclusive
482
483
let powersets = non_exclusive. iter ( ) . cloned ( ) . powerset ( ) . collect :: < Vec < _ > > ( ) ;
483
- info ! ( "Powersets: {:?}" , powersets) ;
484
-
485
- for mut feature_set in powersets. into_iter ( ) . map ( Features ) {
486
- info ! ( "Running check with features: {}" , feature_set) ;
484
+ info ! ( "Powerset: {:?}" , powersets) ;
485
+ let length = powersets. len ( ) ;
486
+
487
+ for ( i, mut feature_set) in powersets. into_iter ( ) . map ( Features ) . enumerate ( ) {
488
+ info ! (
489
+ "Running check {}/{length} with features: {}" ,
490
+ i + 1 ,
491
+ feature_set
492
+ ) ;
487
493
// choose language features
488
494
for category in [
489
495
FeatureGroup :: LuaExclusive ,
0 commit comments