diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2025-02-05 19:09:35 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-05 19:09:35 +0800 |
| commit | ff339fbbf4c535afdff3ceaa968f0fe36be23b59 (patch) | |
| tree | 741ba861f64fd404bc996559a9af467a8ff3dd51 /tests | |
| parent | cc58e8b7ec3c09a04b4d2420ee9a328bfad73e15 (diff) | |
| parent | 8a3cb1351183e963da96ae6bbb8dcce478be9f7b (diff) | |
| download | rust-ff339fbbf4c535afdff3ceaa968f0fe36be23b59.tar.gz rust-ff339fbbf4c535afdff3ceaa968f0fe36be23b59.zip | |
Rollup merge of #136449 - joboet:move_pal_net, r=ChrisDenton
std: move network code into `sys` As per #117276, this PR moves `sys_common::net` and the `sys::pal::net` into the newly created `sys::net` module. In order to support #135141, I've moved all the current network code into a separate `connection` module, future functions like `hostname` can live in separate modules. I'll probably do a follow-up PR and clean up some of the actual code, this is mostly just a reorganization.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ui/inference/issue-72616.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/inference/issue-72616.stderr b/tests/ui/inference/issue-72616.stderr index a26f9a1ff56..3848fcf61d9 100644 --- a/tests/ui/inference/issue-72616.stderr +++ b/tests/ui/inference/issue-72616.stderr @@ -26,7 +26,7 @@ LL | if String::from("a") == "a".try_into().unwrap() {} | ^^^^^^^^ | = note: multiple `impl`s satisfying `_: TryFrom<&str>` found in the following crates: `core`, `std`: - - impl TryFrom<&str> for std::sys_common::net::LookupHost; + - impl TryFrom<&str> for std::sys::net::connection::socket::LookupHost; - impl<T, U> TryFrom<U> for T where U: Into<T>; = note: required for `&str` to implement `TryInto<_>` |
