-
Notifications
You must be signed in to change notification settings - Fork 29
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
Compile error on const offset in struct with interior mutability #37
Comments
@hvenev could you try this again with |
Sorry, I meant |
Yes, it appears to work on nightly: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=bccaaea7e859e843018cc66e01880ed7 |
Great, thanks for testing. :) |
Playground containing an extract of the code from the current master (d3f5f23)
Building this fails with the following error:
Note that there is no error if
Foo::a
isusize
instead.The text was updated successfully, but these errors were encountered: