Skip to content

Commit

Permalink
remove repr
Browse files Browse the repository at this point in the history
  • Loading branch information
jxs committed Aug 14, 2024
1 parent e065f54 commit ddb48dc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions refinery_macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ fn migration_enum_quoted(migration_names: &[impl AsRef<str>]) -> TokenStream2 {
discriminants.push(quote! { v => panic!("Invalid migration version '{}'", v) });

let result = quote! {
#[repr(i64)]
#[derive(Debug)]
pub enum EmbeddedMigration {
#(#variants),*
Expand Down Expand Up @@ -143,7 +142,7 @@ mod tests {
#[cfg(feature = "enums")]
fn test_enum_fn() {
let expected = concat! {
"# [repr (i64)] # [derive (Debug)] ",
"# [derive (Debug)] ",
"pub enum EmbeddedMigration { ",
"Foo (Migration) = 1i32 , ",
"BarBaz (Migration) = 3i32 ",
Expand Down

0 comments on commit ddb48dc

Please sign in to comment.