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

Ignore a doctest that will be broken by a stabilization #444

Closed
wants to merge 1 commit into from

Conversation

Nadrieril
Copy link
Member

Over at rust-lang/rust#122792, I'm proposing to stabilize a feature that will allow let Ok(x) = result; to compile for result: Result<T, Void>. Problem is, the nomicon contains a doctest that asserts that this doesn't compile. Which breaks CI on my stabilization PR 😁.

I don't know if there's a standard procedure for this, so I thought I'd ignore the test here first, wait for submodule update on the rustc side, which will allow my PR to pass CI. If it gets merged we can re-enable the doctest and update it. If the stabilization doesn't go through we can just revert this. Is that sensible?

@Nadrieril
Copy link
Member Author

Oh, it seems nomicon doctests are run in CI but aren't blocking

@Nadrieril Nadrieril closed this Mar 21, 2024
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.

1 participant