-
Notifications
You must be signed in to change notification settings - Fork 13.3k
book: make the test succeed by avoiding using non-existent function #29198
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
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
I think it should be identical to the preceding |
But the test fails at the moment |
Plop in a definition of |
I will add the |
fixed |
@bors r+ rollup |
📌 Commit d30ebd1 has been approved by |
💔 Test failed - auto-mac-64-nopt-t |
|
☔ The latest upstream changes (presumably #29458) made this pull request unmergeable. Please resolve the merge conflicts. |
test ignored, as is the case with one before it |
Also, do not get it doc-tested due to this failure: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/6961/steps/test/logs/stdio
We don't want to ignore the test. We want to not mark the function as pub. Actually, I thought this PR was to solve a doctest failure/ignore, which is why I suggested using a It's a pretty common pattern in rust docs to use snippets that need parts from previous snippets. Because of this, I'm not sure if this PR is really necessary. |
I think it's marked I will close this regardless, given your last point. |
No description provided.