error[E0277]: the trait bound `DeleteReturningSet: select::insert_select_private::Completed` is not satisfied
--> tests/ui/insert_select/sqlite/fail/insert_select_dml.rs:22:42
|
22 | let _ = builder.insert(users).select(delete);
| ------ ^^^^^^ the trait `select::insert_select_private::Completed` is not implemented for `DeleteReturningSet`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `select::insert_select_private::Completed`:
SelectFromSet
SelectGroupSet
SelectJoinSet
SelectLimitSet
SelectOffsetSet
SelectOrderSet
SelectSetOpSet
SelectWhereSet
= note: required for `QueryBuilder<'_, Schema, DeleteReturningSet, Users, Scoped<SelectCols<(Id,)>, Cons<Users, Nil>>, (i32,)>` to implement `drizzle::sqlite::builder::select::IntoSelectQuery<'_, Schema, (i32,)>`
note: required by a bound in `insert::<impl QueryBuilder<'a, Schema, InsertInitial, Table>>::select`
--> sqlite/src/builder/insert.rs
|
| pub fn select<Q, R, ScopeProof, AggProof>(
| ------ required by a bound in this associated function
...
| Q: IntoSelectQuery<'a, Schema, R>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `insert::<impl QueryBuilder<'a, Schema, InsertInitial, Table>>::select`