mirror of
https://github.com/element-hq/synapse.git
synced 2026-09-02 09:13:52 +00:00
```
error[E0308]: mismatched types
--> rust/src/storage/db/python_db_pool.rs:236:35
|
236 | self.execute(py, sql, args)?;
| ------- ^^^^ expected `&Bound<'_, PyAny>`, found `&[&str]`
| |
| arguments to this method are incorrect
|
= note: expected reference `&pyo3::Bound<'_, pyo3::PyAny>`
found reference `&'life2 [&'life3 str]`
note: method defined here
--> rust/src/storage/db/python_db_pool.rs:206:12
|
206 | pub fn execute<'py>(
| ^^^^^^^
...
210 | args: &Bound<'py, PyAny>,
| ------------------------
```