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

need std::io::listener for impl Listener<TcpStream, TcpAcceptor> for TcpListener #12040

Closed
nickdesaulniers opened this issue Feb 5, 2014 · 1 comment

Comments

@nickdesaulniers
Copy link

In order to call listen on a TcpListener instance, I have to use std::io::Listener. Same for accept. Can these be moved into std::io::net::tcp ??

@alexcrichton
Copy link
Member

This will likely be addressed by the ongoing I/O reform, for more details see some of the earlier revisions of rust-lang/rfcs#517

bors added a commit to rust-lang-ci/rust that referenced this issue Jul 25, 2022
…, r=jonas-schievink

fix: Improve parameter completion

fix rust-lang/rust-analyzer#12016 and handles some extra cases.
bors added a commit to rust-lang-ci/rust that referenced this issue Jul 25, 2022
flip1995 pushed a commit to flip1995/rust that referenced this issue Feb 26, 2024
stop linting [`blocks_in_conditions`] on `match` with weird attr macro case

should fixes: rust-lang#12016

---

changelog: [`blocks_in_conditions`] - fix FP on `match` with weird attr macro

This might not be the best solution, as the root cause (i think?) is the `span` of block was incorrectly given by the compiler?

I'm open to better solutions
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

No branches or pull requests

2 participants