immunant / c2rust

Migrate C code to Rust
https://c2rust.com/
Other
3.91k stars 229 forks source link

Rewrite field declarations #910

Closed aneksteind closed 1 year ago

aneksteind commented 1 year ago

Addresses https://github.com/immunant/c2rust/issues/873 in part.

This only rewrites struct field declarations. It doesn't rewrite the struct lifetime parameters and their use within the struct's field declarations.

fw-immunant commented 1 year ago

Not to be a broken record, but this would be easier to review if the renames were split into a separate commit from the semantically significant changes.

aneksteind commented 1 year ago

@spernsteiner can you take a look at this?