mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 22:44:17 +00:00
don't assert #[repr(...)] on #[derive(sqlx::Type)]
unless needed (#1305)
This commit is contained in:
parent
719d80038b
commit
2eb4ff8713
1 changed files with 0 additions and 2 deletions
|
@ -216,8 +216,6 @@ pub fn check_transparent_attributes(
|
|||
field
|
||||
);
|
||||
|
||||
assert_attribute!(attributes.repr.is_none(), "unexpected #[repr(..)]", input);
|
||||
|
||||
let ch_attributes = parse_child_attributes(&field.attrs)?;
|
||||
|
||||
assert_attribute!(
|
||||
|
|
Loading…
Reference in a new issue