sqlx/tests/ui/postgres/deprecated_rename.rs

12 lines
174 B
Rust

#[derive(sqlx::Type)]
#[sqlx(rename = "foo")]
enum Foo {
One,
Two,
Three,
}
fn main() {
compile_error!("trybuild test needs to fail for stderr checking");
}