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