mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 22:44:17 +00:00
efed9b3d6d
add regression test with Trybuild fix lint warnings as otherwise Trybuild wanted to include them
7 lines
334 B
Text
7 lines
334 B
Text
error: "\'1" is not a valid Rust identifier
|
|
--> $DIR/issue_30.rs:2:17
|
|
|
|
|
2 | let query = sqlx::query!("select 1 as \"'1\"");
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
|