error: nested optional clauses `[[...]]` are not supported — each optional clause must be a flat `[SQL fragment]`
--> tests/compile_fail/optional_nested_brackets.rs:3:13
|
3 | let _ = bsql::query!(
| _____________^
4 | | "SELECT id FROM tickets WHERE 1 = 1 [[AND department_id = $a: Option<i32>]]"
5 | | );
| |_____^
|
= note: this error originates in the macro `bsql::query` (in Nightly builds, run with -Z macro-backtrace for more info)