Work around what appears to be an optimizer bug present in Rust since 4b22178d325704d81522c15570498b7467b3152d