sqlx/tests/ui/postgres/issue_30.stderr
Austin Bonander efed9b3d6d sqlx-macros: fix handling of invalid idents
add regression test with Trybuild

fix lint warnings as otherwise Trybuild wanted to include them
2020-01-21 01:52:57 -08:00

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)