Add regression test for #135287#155191
Conversation
|
The review request |
|
rustbot has assigned @Mark-Simulacrum. Use Why was this reviewer chosen?The reviewer was selected based on:
|
This comment has been minimized.
This comment has been minimized.
| @@ -0,0 +1,67 @@ | |||
| // Regression test for #135287. | |||
There was a problem hiding this comment.
use a link to an issue instead of just issue number
|
Reminder, once the PR becomes ready for a review, use |
…lation The ICE (`adt_sized_constraint called on non-struct type`) was fixed indirectly by the removal of the `adt_sized_constraint` query, but no regression test was added. This adds one using the minimized reproducer from the original report.
1921e8b to
8b543ce
Compare
|
Thanks for the review @Kivooeo! Addressed in the latest push:
One thing I'd like to push back on gently: I'd prefer to keep the test in @rustbot ready |
Fixes #135287
The ICE (
adt_sized_constraint called on non-struct type) triggered when changing a struct to an enum under incremental compilation. It was fixed indirectly by the removal of theadt_sized_constraintquery in #122493, but no regression test was added.This adds one using the minimized reproducer from the issue.
r? incremental