We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e065f54 commit ddb48dcCopy full SHA for ddb48dc
refinery_macros/src/lib.rs
@@ -48,7 +48,6 @@ fn migration_enum_quoted(migration_names: &[impl AsRef<str>]) -> TokenStream2 {
48
discriminants.push(quote! { v => panic!("Invalid migration version '{}'", v) });
49
50
let result = quote! {
51
- #[repr(i64)]
52
#[derive(Debug)]
53
pub enum EmbeddedMigration {
54
#(#variants),*
@@ -143,7 +142,7 @@ mod tests {
143
142
#[cfg(feature = "enums")]
144
fn test_enum_fn() {
145
let expected = concat! {
146
- "# [repr (i64)] # [derive (Debug)] ",
+ "# [derive (Debug)] ",
147
"pub enum EmbeddedMigration { ",
148
"Foo (Migration) = 1i32 , ",
149
"BarBaz (Migration) = 3i32 ",
0 commit comments