Skip to content

Commit 2eb4ff8

Browse files
authored
don't assert #[repr(...)] on #[derive(sqlx::Type)] unless needed (#1305)
1 parent 719d800 commit 2eb4ff8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

sqlx-macros/src/derives/attributes.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,6 @@ pub fn check_transparent_attributes(
216216
field
217217
);
218218

219-
assert_attribute!(attributes.repr.is_none(), "unexpected #[repr(..)]", input);
220-
221219
let ch_attributes = parse_child_attributes(&field.attrs)?;
222220

223221
assert_attribute!(

0 commit comments

Comments
 (0)