Uh oh!
There was an error while loading. Please reload this page.
Avoid ICE in coverage builds with bad #[coverage(..)] attributes - #131187
Merged
Conversation
rustbot
commented
Oct 3, 2024
Collaborator
rustbot
commented
Oct 3, 2024
Collaborator
This PR modifies cc @jieyouxu Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Zalathar
commented
Oct 3, 2024
MemberAuthor
I was a silly goose, and this can totally be a normal UI test after all. |
#[coverage(..)] attributes#[coverage(..)] attributesjieyouxu
commented
Oct 3, 2024
Member
@bors r+ rollup |
bors
commented
Oct 3, 2024
Collaborator
This comment has been minimized.
This comment has been minimized.
jieyouxu
commented
Oct 3, 2024
Member
@bors r- test might need |
This code can sometimes witness malformed coverage attributes in builds that are going to fail, so use `span_delayed_bug` to avoid an inappropriate ICE in that case.
jieyouxu
approved these changes
Oct 3, 2024
jieyouxu
left a comment
Member
There was a problem hiding this comment.
Thanks, r=me after PR CI is green.
Zalathar
commented
Oct 3, 2024
MemberAuthor
CI is green. @bors r=jieyouxu |
bors
commented
Oct 3, 2024
Collaborator
matthiaskrgr added a commit
to matthiaskrgr/rust
that referenced
this pull request
Oct 3, 2024
Avoid ICE in coverage builds with bad `#[coverage(..)]` attributes This code can sometimes witness malformed coverage attributes in builds that are going to fail, so use `span_delayed_bug` to avoid an inappropriate ICE in that case. Fixesrust-lang#127880.
This was referenced Oct 3, 2024
bors added a commit
to rust-lang-ci/rust
that referenced
this pull request
Oct 3, 2024
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#131024 (Don't give method suggestions when method probe fails due to bad implementation of `Deref`) - rust-lang#131112 (TransmuteFrom: Gracefully handle unnormalized types and normalization errors) - rust-lang#131176 (.gitignore files for nix) - rust-lang#131183 (Refactoring to `OpaqueTyOrigin`) - rust-lang#131187 (Avoid ICE in coverage builds with bad `#[coverage(..)]` attributes) - rust-lang#131192 (Handle `rustc_query_impl` cases of `rustc::potential_query_instability` lint) - rust-lang#131197 (Avoid emptiness check in `PeekMut::pop`) r? `@ghost` `@rustbot` modify labels: rollup
rust-timer added a commit
to rust-lang-ci/rust
that referenced
this pull request
Oct 4, 2024
Rollup merge of rust-lang#131187 - Zalathar:bad-attr-ice, r=jieyouxu Avoid ICE in coverage builds with bad `#[coverage(..)]` attributes This code can sometimes witness malformed coverage attributes in builds that are going to fail, so use `span_delayed_bug` to avoid an inappropriate ICE in that case. Fixesrust-lang#127880.
Urgau
commented
Oct 4, 2024
Member
@bors r- merged, but still on the queue |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This code can sometimes witness malformed coverage attributes in builds that are going to fail, so use
span_delayed_bugto avoid an inappropriate ICE in that case.Fixes#127880.