about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-20 09:02:34 +0000
committerbors <bors@rust-lang.org>2024-02-20 09:02:34 +0000
commitcce6a6e22e715bd74455f2560a956ab920c3a914 (patch)
treeb580254587f00a54463847d72968f58e25f294f0 /compiler/rustc_pattern_analysis/src
parent5af2130440c198afefbe5b8099342057cf272ef4 (diff)
parent90626979170da2d6c5ec1622b3d7a9512df9eb71 (diff)
downloadrust-cce6a6e22e715bd74455f2560a956ab920c3a914.tar.gz
rust-cce6a6e22e715bd74455f2560a956ab920c3a914.zip
Auto merge of #121087 - oli-obk:eager_const_failures, r=lcnr
Always evaluate free constants and statics, even if previous errors occurred

work towards https://github.com/rust-lang/rust/issues/79738

We will need to evaluate static items before the `definitions.freeze()` below, as we will start creating new `DefId`s (for nested allocations) within the `eval_static_initializer` query.

But even without that motivation, this is a good change. Hard errors should always be reported and not silenced if other errors happened earlier.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions