-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ICE with polymorphic regioned struct #3154
Comments
I had to work around this here: 604e4ad#L0R74 |
As of b60a0be, this fails with a borrow check error, rather than ICEing.
yields:
|
I'm not convinced a borrow-check error is grounds for closing this. Tentatively reopening. Would you mind trying to merge I don't expect any borrow-check errors there, since the lifetimes work out with the currently-hand-monomorphised version. |
I was able to merge the two structs and haven't gotten any compile errors yet, but I'm still waiting for tests to run. |
See 7a365e4 |
Hot. Thanks! |
I don't really know what it's trying to do, but forgetting about everything you've seen before when you see whitespace followed by a semicolon doesn't look right to me, and absolutely no tests were hitting that. This check was introduced in 5ecdd07, however it was wrong even at that point, and now rustfmt still passes that test, regardless of macro name. Fixes rust-lang#3154.
Update Rust toolchain from nightly-2024-04-19 to nightly-2024-04-20 without any other source changes. This is an automatically generated pull request. If any of the CI checks fail, manual intervention is required. In such a case, review the changes at https://github.com/rust-lang/rust from rust-lang@e3181b0 up to rust-lang@f9b1614.
Backtrace:
The text was updated successfully, but these errors were encountered: