Skip to content

Commit

Permalink
Writing a test (SeaQL#793)
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardWGNR committed Jul 13, 2024
1 parent 018b456 commit f52c61b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions sea-query-attr/tests/pass/escaping.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
use sea_query_attr::enum_def;

#[enum_def]
pub struct Hello {
pub r#type: String
}

fn main() {
println!("{:?}", HelloIden::Type);
}

0 comments on commit f52c61b

Please sign in to comment.