Removes glob import of ApplyFeatureActivationsCaller (#34334)
This commit is contained in:
parent
1877fdb273
commit
49ffe42661
|
@ -7875,11 +7875,11 @@ impl Bank {
|
|||
caller: ApplyFeatureActivationsCaller,
|
||||
debug_do_not_add_builtins: bool,
|
||||
) {
|
||||
use ApplyFeatureActivationsCaller::*;
|
||||
use ApplyFeatureActivationsCaller as Caller;
|
||||
let allow_new_activations = match caller {
|
||||
FinishInit => false,
|
||||
NewFromParent => true,
|
||||
WarpFromParent => false,
|
||||
Caller::FinishInit => false,
|
||||
Caller::NewFromParent => true,
|
||||
Caller::WarpFromParent => false,
|
||||
};
|
||||
let (feature_set, new_feature_activations) =
|
||||
self.compute_active_feature_set(allow_new_activations);
|
||||
|
|
Loading…
Reference in New Issue