diff --git a/database/src/pool/both.rs b/database/src/pool/both.rs index 61e39b637..774c8c729 100644 --- a/database/src/pool/both.rs +++ b/database/src/pool/both.rs @@ -196,7 +196,7 @@ impl<'a> Connection for BothTransaction<'a> { self.b.conn().maybe_create_indices() ); } - async fn transaction(&mut self) -> Box { + async fn transaction<'b>(&'b mut self) -> Box { panic!("nested transactions not supported") } async fn load_index(&mut self) -> Index {