Does Rust have something like a deep-codemodding macro that could be used to un-panic-fy an entire function etc. automatically?
Something like: Given a function, rewrite its signature to return a Result if it doesn't already, rewrite each non-Resulty return site to a Some(), add a ? to every function call, then recurse into each called function and do the same.