Removes glob import of ApplyFeatureActivationsCaller (#34334)

This commit is contained in:
Brooks 2023-12-06 12:48:25 -05:00 committed by GitHub
parent 1877fdb273
commit 49ffe42661
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -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);