Found a Rust compiler bug, and it's fixed within a day. https://github.com/rust-lang/rust/issues/38780 (not the first time the community had been so responsive!)