]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Auto merge of #67667 - wesleywiser:speed_up_trivially_valid_constants, r=oli-obk
authorbors <bors@rust-lang.org>
Mon, 30 Dec 2019 11:31:04 +0000 (11:31 +0000)
committerbors <bors@rust-lang.org>
Mon, 30 Dec 2019 11:31:04 +0000 (11:31 +0000)
commit0fb43801368ae8b5931583f813071120bed55c35
tree9d06b775314efd38d0553123d3a1086be0600c56
parent580ac0b4f1c6f9cf76f6edafdaf9806437770aff
parent5ca3a1bed185d6f7ad914dda6c73590f54d2515d
Auto merge of #67667 - wesleywiser:speed_up_trivially_valid_constants, r=oli-obk

Resolve long compile times when evaluating always valid constants

This extends the existing logic which skips validating every integer or
floating point number type to also skip validating empty structs because
they are also trivially valid.

Fixes #67539

r? @oli-obk
cc @RalfJung @spastorino