Skip to content

Conversation

matthiaskrgr
Copy link
Member

No description provided.

@rustbot
Copy link
Collaborator

rustbot commented Jun 25, 2023

r? @b-naber

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jun 25, 2023
@@ -118,7 +118,7 @@ fn parse_attribute(attr: &Attribute) -> MirPhase {
phase = Some(value);
}
other => {
panic!("Unexpected key {}", other);
bug!("Unexpected key while parsing custom_mir attribute: '{}'", other);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
bug!("Unexpected key while parsing custom_mir attribute: '{}'", other);
span_bug!(nested.span, "Unexpected key while parsing custom_mir attribute: '{}'", other);

I think this works?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, neat! :)
mir_ice

Copy link
Member

@compiler-errors compiler-errors left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me preferably with change. i think there's some span you can use here.

@compiler-errors compiler-errors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 26, 2023
@matthiaskrgr
Copy link
Member Author

@bors rollup=always r=compiler-errors

@bors
Copy link
Collaborator

bors commented Jun 26, 2023

📌 Commit c6e6ceb has been approved by compiler-errors

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jun 26, 2023
bors added a commit to rust-lang-ci/rust that referenced this pull request Jun 27, 2023
…iaskrgr

Rollup of 3 pull requests

Successful merges:

 - rust-lang#113039 (make custom mir ICE a bit nicer)
 - rust-lang#113058 (Add/improve code comments)
 - rust-lang#113063 (Update books)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit a144272 into rust-lang:master Jun 27, 2023
@rustbot rustbot added this to the 1.72.0 milestone Jun 27, 2023
@bors
Copy link
Collaborator

bors commented Jun 27, 2023

⌛ Testing commit c6e6ceb with merge 95978b3...

@matthiaskrgr
Copy link
Member Author

o.O

@matthiaskrgr matthiaskrgr deleted the custom_mir branch January 25, 2025 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants