about summary refs log tree commit diff
path: root/src/libsyntax_pos/analyze_source_file/tests.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-12-30 11:31:04 +0000
committerbors <bors@rust-lang.org>2019-12-30 11:31:04 +0000
commit0fb43801368ae8b5931583f813071120bed55c35 (patch)
tree9d06b775314efd38d0553123d3a1086be0600c56 /src/libsyntax_pos/analyze_source_file/tests.rs
parent580ac0b4f1c6f9cf76f6edafdaf9806437770aff (diff)
parent5ca3a1bed185d6f7ad914dda6c73590f54d2515d (diff)
downloadrust-0fb43801368ae8b5931583f813071120bed55c35.tar.gz
rust-0fb43801368ae8b5931583f813071120bed55c35.zip
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
Diffstat (limited to 'src/libsyntax_pos/analyze_source_file/tests.rs')
0 files changed, 0 insertions, 0 deletions