about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/constructor.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-03-07 18:32:51 +0100
committerGitHub <noreply@github.com>2024-03-07 18:32:51 +0100
commit92d7e02bb29d4341203dbae28aaa46acec930b28 (patch)
tree478d9874b16d2617e1268c41c3a17fc98cb0bc0e /compiler/rustc_pattern_analysis/src/constructor.rs
parentcc6a570e0e3bde2680660c8b8f50c3c25c46b4f3 (diff)
parent5ce3db22487d2d88f035a939abe1131aedbd9d94 (diff)
downloadrust-92d7e02bb29d4341203dbae28aaa46acec930b28.tar.gz
rust-92d7e02bb29d4341203dbae28aaa46acec930b28.zip
Rollup merge of #122147 - kadiwa4:private_impl_mods, r=workingjubilee
Make `std::os::unix::ucred` module private

Tracking issue: #42839

Currently, this unstable module exists: [`std::os::unix::ucred`](https://doc.rust-lang.org/stable/std/os/unix/ucred/index.html).
All it does is provide `UCred` (which is also available from `std::os::unix::net`), `impl_*` (which is probably a mishap and should be private) and `peer_cred` (which is undocumented but has a documented counterpart at `std::os::unix::net::UnixStream::peer_cred`).

This PR makes the entire `ucred` module private and moves it into `net`, because that's where it is used.

I hope it's fine to simply remove it without a deprecation phase. Otherwise, I can add back a deprecated reexport module `std::os::unix::ucred`.

`@rustbot` label: -T-libs +T-libs-api
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/constructor.rs')
0 files changed, 0 insertions, 0 deletions