diff --git a/runtime/src/accounts_index.rs b/runtime/src/accounts_index.rs index d90cf74ba9..948f0ae651 100644 --- a/runtime/src/accounts_index.rs +++ b/runtime/src/accounts_index.rs @@ -17,6 +17,7 @@ use std::{ btree_map::{self, BTreeMap, Entry}, HashSet, }, + fmt::Debug, ops::{ Bound, Bound::{Excluded, Included, Unbounded}, @@ -675,8 +676,9 @@ impl Default for AccountsIndex { } } -impl - AccountsIndex +impl< + T: 'static + Clone + IsCached + ZeroLamport + std::marker::Sync + std::marker::Send + Debug, + > AccountsIndex { fn iter(&self, range: Option) -> AccountsIndexIterator where