File: deprecated_rename.rs

package info (click to toggle)
rust-sqlx 0.8.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,744 kB
  • sloc: sql: 335; python: 268; sh: 71; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 174 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#[derive(sqlx::Type)]
#[sqlx(rename = "foo")]
enum Foo {
    One,
    Two,
    Three,
}

fn main() {
    compile_error!("trybuild test needs to fail for stderr checking");
}