add error_occured field to ConstQualifs, #78809
Conversation
src/test/ui/consts/issue-76064.rs
Outdated
There was a problem hiding this comment.
Not sure what a good test case is, in this case. So I added the one from the issue.
There was a problem hiding this comment.
This is a good test case. This PR does not yet fix struct Bug([u8; {let x; x}]);, so there are no other tests to add
8d409f3 to
0c56372
Compare
|
@bors r+ |
|
📌 Commit 0c56372 has been approved by |
|
@bors r- failed in #78954 (https://github.com/rust-lang/rust/runs/1386772589) |
|
You need to rebase and re-bless, looks like we got another test added in the mean time |
|
Looks like the the new test still haven't been merged? |
|
Ah... this is a test from another PR? @bors r+ rollup=iffy |
|
📌 Commit 0c56372 has been approved by |
|
Is it not? I could not find that file in the repo. |
|
Oh, my bad. I was looking in the wrong place. It was inside the clippy tests. I didn't look inside there. |
|
@bors r- |
0c56372 to
f026d0f
Compare
|
@oli-obk I've fixed the test. |
|
@bors r+ |
|
📌 Commit f026d0f has been approved by |
|
⌛ Testing commit f026d0f with merge a439b5b1ca6ec3543584169639e0ccdc7f278b8b... |
|
💔 Test failed - checks-actions |
|
☀️ Test successful - checks-actions |
add error_occured field to ConstQualifs, fix rust-lang#76064 I wasn't sure what `in_return_place` actually did and not sure why it returns `ConstQualifs` while it's sibling functions return `bool`. So I tried to make as minimal changes to the structure as possible. Please point out whether I have to refactor it or not. r? `@oli-obk` cc `@RalfJung`
fix #76064
I wasn't sure what
in_return_placeactually did and not sure why it returnsConstQualifswhile it's sibling functions returnbool. So I tried to make as minimal changes to the structure as possible. Please point out whether I have to refactor it or not.r? @oli-obk
cc @RalfJung