Skip to content

Commit

Permalink
Auto merge of #121087 - oli-obk:eager_const_failures, r=lcnr
Browse files Browse the repository at this point in the history
Always evaluate free constants and statics, even if previous errors occurred

work towards rust-lang/rust#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.
  • Loading branch information
bors committed Feb 20, 2024
2 parents 5465b0b + 5075bf7 commit a26ff13
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit a26ff13

Please sign in to comment.