Skip to content
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

Fix tests on nightly. #1958

Closed
wants to merge 1 commit into from
Closed

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented May 13, 2019

Since rust-lang/rust#59940, test blocks are now included. These code blocks are incomplete, and now cause test failures.

@steveklabnik
Copy link
Member

Looks good to me! @carols10cents any opinions?

@carols10cents
Copy link
Member

So the first one isn't supposed to compile, so ignoring it is correct. The second one can compile with some added hidden code, so that's how I'd like to fix that one. I've pushed a fix to master 29fe982 and I'm closing this. mdbook test worked for me locally using rustc 1.36.0-nightly (372be4f36 2019-05-14) please let me know if something's still broken! Thank you for figuring this out! ❤️

@ehuss
Copy link
Contributor Author

ehuss commented May 15, 2019

Thanks @carols10cents ❤️ . I was reluctant to copy everything. It would be nice if it was easier to reuse other code blocks.

I have updated rust-lang/rust#60791 with the changes, hopefully it can get merged before monday.

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

Successfully merging this pull request may close these issues.

None yet

3 participants