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

Improve select! error message #3352

Merged
merged 2 commits into from Dec 27, 2020
Merged

Improve select! error message #3352

merged 2 commits into from Dec 27, 2020

Conversation

zhongjn
Copy link
Contributor

@zhongjn zhongjn commented Dec 27, 2020

Motivation

As #2740, while no branch is avaiblable in select!, the internal error: entered unreachable code error message would be confusing.

Solution

Improve the error message.

@Darksonn Darksonn added A-tokio Area: The main tokio crate M-macros Module: macros in the main Tokio crate labels Dec 27, 2020
Co-authored-by: Alice Ryhl <alice@ryhl.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate M-macros Module: macros in the main Tokio crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants