Skip to content

Commit ddb48dc

Browse files
committed
remove repr
1 parent e065f54 commit ddb48dc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

refinery_macros/src/lib.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ fn migration_enum_quoted(migration_names: &[impl AsRef<str>]) -> TokenStream2 {
4848
discriminants.push(quote! { v => panic!("Invalid migration version '{}'", v) });
4949

5050
let result = quote! {
51-
#[repr(i64)]
5251
#[derive(Debug)]
5352
pub enum EmbeddedMigration {
5453
#(#variants),*
@@ -143,7 +142,7 @@ mod tests {
143142
#[cfg(feature = "enums")]
144143
fn test_enum_fn() {
145144
let expected = concat! {
146-
"# [repr (i64)] # [derive (Debug)] ",
145+
"# [derive (Debug)] ",
147146
"pub enum EmbeddedMigration { ",
148147
"Foo (Migration) = 1i32 , ",
149148
"BarBaz (Migration) = 3i32 ",

0 commit comments

Comments
 (0)