[PATCH 0/2] rust: replace `allow(...)` with `expect(...)`