You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This panic 1 is causing all uses of the query! macros to trigger clippy::missing_panics_doc. This is very annoying because we want to warn on panics at the project level, but then we have to allow it in each usage of the query macros.
Minimal Reproduction
Use sqlx::query_file_as with #![deny(clippy::missing_panics_doc)]
Bug Description
This panic 1 is causing all uses of the
query!
macros to triggerclippy::missing_panics_doc
. This is very annoying because we want to warn on panics at the project level, but then we have to allow it in each usage of the query macros.Minimal Reproduction
Use
sqlx::query_file_as
with#![deny(clippy::missing_panics_doc)]
Info
rustc --version
: rustc 1.84.0-nightly (b8c8287a2 2024-11-03)Footnotes
https://github.com/launchbadge/sqlx/blob/82d332f4b487440b4c2bd5d54a5f17dcc1abc92c/sqlx-macros-core/src/query/args.rs#L92 ↩
The text was updated successfully, but these errors were encountered: