Skip to content

Fails to build tests on latest nightly #1

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
Ryman opened this issue May 13, 2016 · 3 comments
Closed

Fails to build tests on latest nightly #1

Ryman opened this issue May 13, 2016 · 3 comments

Comments

@Ryman
Copy link

Ryman commented May 13, 2016

pub static mut freelist: [&'static mut [u8]; 16] =
    [&mut [], &mut [], &mut [], &mut [], &mut [], &mut [], &mut [],
    &mut [], &mut [], &mut [], &mut [], &mut [], &mut [], &mut [],
    &mut [], &mut []];

At one point, the macros used in tests/lib.rs expand to the above, which is allowed on stable and beta, but seems to be denied on nightly. You can try it here: https://is.gd/9tUBN8

This might be related to rust-lang/rust#33130

@danielrh
Copy link
Collaborator

danielrh commented May 24, 2016

I can't reproduce the problem: maybe it was a regression on nightly?

@Ryman
Copy link
Author

Ryman commented May 24, 2016

I think it's fixed now but I hadn't had a chance to test the fix since it landed in nightly, glad to hear the fix worked!

@Ryman Ryman closed this as completed May 24, 2016
@danielrh
Copy link
Collaborator

Thanks so much for reporting this and following through on the fix (!)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants