-
Notifications
You must be signed in to change notification settings - Fork 13.4k
std::timer::recv_timeout never receives #6089
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
Comments
mzabaluev
added a commit
to gi-rust/grust
that referenced
this issue
Apr 28, 2013
Doc-commented rust-lang/rust#6089 as the reason why we can't timeout on test tasks.
|
|
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Oct 9, 2020
…hearth needless arbitrary self: handle macros This fixes two cases related to macros: * If the parameter comes from expansion, do not lint as the user has no possibility of changing it. This is not directly related to the fixed issue, but we should probably do that. * If *only* the lifetime name comes from expansion, lint, but allow the user decide the name of the lifetime. In the related issue, the lifetime was unnamed and then renamed by `async_trait`, so just removing the name in the suggestion would work, but in the general case a macro can rename a lifetime that was named differently, and we can't reliably know that name anymore. As a hint for the reviewer, the expanded code for the test can be checked with this command (from the root dir of the repo): ```sh rustc -L target/debug/test_build_base/needless_arbitrary_self_type_unfixable.stage-id.aux -Zunpretty=expanded tests/ui/needless_arbitrary_self_type_unfixable.rs ``` changelog: [`needless_arbitrary_self_type`]: handle macros Fixes rust-lang#6089
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The test:
Fails the assertion, and then the program hangs up with:
As a matter of fact,
recv_timeout
has not been able to wake up on any type of input I have tried.The text was updated successfully, but these errors were encountered: