mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-19 08:39:44 +00:00
don't assert #[repr(...)] on #[derive(sqlx::Type)] unless needed (#1305)
This commit is contained in:
@@ -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!(
|
||||
|
||||
Reference in New Issue
Block a user