[PATCH] rust: macros: fix soundness issue in `module!` macro