diff options
| author | bors <bors@rust-lang.org> | 2024-02-20 09:02:34 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-02-20 09:02:34 +0000 |
| commit | cce6a6e22e715bd74455f2560a956ab920c3a914 (patch) | |
| tree | b580254587f00a54463847d72968f58e25f294f0 /compiler/rustc_pattern_analysis/src | |
| parent | 5af2130440c198afefbe5b8099342057cf272ef4 (diff) | |
| parent | 90626979170da2d6c5ec1622b3d7a9512df9eb71 (diff) | |
| download | rust-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
