mirror of
https://github.com/element-hq/synapse.git
synced 2026-09-16 08:22:42 +00:00
```
error[E0277]: the size for values of type `(dyn storage::db::DatabasePool + 'static)` cannot be known at compilation time
--> rust/src/handlers/mod.rs:53:30
|
53 | let store = Arc::new(Store { config, db_pool });
| ^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
|
= help: within `storage::store::Store`, the trait `std::marker::Sized` is not implemented for `(dyn storage::db::DatabasePool + 'static)`
note: required because it appears within the type `storage::store::Store`
--> rust/src/storage/store.rs:37:12
|
37 | pub struct Store {
| ^^^^^
= note: structs must have a statically known size to be initialized
```