Add a regression test for #44415#47704
Conversation
|
(rust_highfive has picked a reviewer for you, use r? to override) |
|
Turns out I accidentally closed this PR while cleaning up my fork. |
|
Thanks @dsprenkels! For us though |
|
Oh yeah, I forgot about that. I will fix it accordingly. |
|
Hmmm. It turns out harder than expected, because the error does not trigger in the file itself, but in mem.rs. So the Is it possible to specify an |
|
Maybe try to make it a UI test instead of compile-fail test? |
|
Yes I could do this. However, we would have to update the test every time Instead, I chose to redefine the |
baa48df to
f641ac6
Compare
|
Btw. I propose that if we adopt any of the solutions that are not |
|
@alexcrichton ping from triage! |
|
@bors: r+ Thanks! |
|
📌 Commit f641ac6 has been approved by |
Add a regression test for rust-lang#44415 This PR adds a regression test for issue rust-lang#44415. Fixes rust-lang#44415.
This PR adds a regression test for issue #44415.
Fixes #44415.