From: kennytm Date: Mon, 16 Apr 2018 17:51:04 +0000 (+0800) Subject: Rollup merge of #49965 - nikic:fix-49622, r=rkruppe X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=87cd53e63f4677d5bf4a542162449bc278b0aaa0;p=rust.git Rollup merge of #49965 - nikic:fix-49622, r=rkruppe Remove warning about f64->f32 cast being potential UB As discussed in #15536, the LLVM documentation incorrect described overflowing f64->f32 casts as being undefined behavior. LLVM never treated them as such, and the documentation has been adjusted in https://reviews.llvm.org/rL329065. As such, this warning can now be removed. Closes #49622. --- I could not find any existing test checking for this warning. Should I be adding a test for the absence of the warning instead? --- 87cd53e63f4677d5bf4a542162449bc278b0aaa0