immunant / c2rust

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

analyze: fix panic on `addr_of!(...) as ...` #945

Closed spernsteiner closed 1 year ago

spernsteiner commented 1 year ago

Fixes the panic described in https://github.com/immunant/c2rust/pull/839#issuecomment-1562290887