mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-11 05:34:11 +03:00
Fix gen_rs tests
This commit is contained in:
parent
46ea5a7d3b
commit
0718a15ae0
@ -257,7 +257,7 @@ mod test_gen_rs {
|
||||
))]
|
||||
#[derive(Clone, Debug, Default, Eq, Ord, Hash, PartialEq, PartialOrd)]
|
||||
#[repr(C)]
|
||||
pub struct UserId {
|
||||
struct UserId {
|
||||
pub f1: roc_std::RocStr,
|
||||
pub f0: u32,
|
||||
}
|
||||
@ -269,7 +269,7 @@ mod test_gen_rs {
|
||||
))]
|
||||
#[derive(Clone, Debug, Default, Eq, Ord, Hash, PartialEq, PartialOrd)]
|
||||
#[repr(C)]
|
||||
pub struct UserId {
|
||||
struct UserId {
|
||||
pub f0: u32,
|
||||
pub f1: roc_std::RocStr,
|
||||
}
|
||||
@ -303,8 +303,10 @@ mod test_gen_rs {
|
||||
target_arch = "wasm32"
|
||||
))]
|
||||
#[derive(Clone, Debug, Default, Eq, Ord, Hash, PartialEq, PartialOrd)]
|
||||
#[repr(transparent)]
|
||||
pub struct UserId(roc_std::RocStr);
|
||||
#[repr(C)]
|
||||
struct UserId {
|
||||
pub f0: roc_std::RocStr,
|
||||
}
|
||||
"#
|
||||
)
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user