sqlx-macros: fix handling of invalid idents

add regression test with Trybuild

fix lint warnings as otherwise Trybuild wanted to include them
This commit is contained in:
Austin Bonander
2020-01-16 19:26:02 -08:00
committed by Austin Bonander
parent d26040f675
commit efed9b3d6d
13 changed files with 77 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
use byteorder::{ByteOrder, NetworkEndian};
use crate::arguments::{Arguments, IntoArguments};
use crate::arguments::Arguments;
use crate::encode::{Encode, IsNull};
use crate::io::BufMut;
use crate::types::HasSqlType;

View File

@@ -1,3 +1,4 @@
#![allow(dead_code)]
use crate::io::BufMut;
use crate::postgres::protocol::Encode;
use byteorder::NetworkEndian;

View File

@@ -19,6 +19,7 @@ mod parse;
mod password_message;
mod query;
mod sasl;
#[cfg_attr(not(feature = "tls"), allow(unused_imports, dead_code))]
mod ssl_request;
mod startup_message;
mod statement;