about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorChristiaan Dirkx <christiaan@dirkx.email>2021-02-24 18:18:26 +0100
committerChristiaan Dirkx <christiaan@dirkx.email>2021-02-24 18:18:26 +0100
commit5b84b9a8d8518e3db0e9f7995a54297a33c59b5c (patch)
tree7e96613cba265a4dc7950b6df8c72fc89bd23c94 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentd1206f950ffb76c76e1b74a19ae33c2b7d949454 (diff)
downloadrust-5b84b9a8d8518e3db0e9f7995a54297a33c59b5c.tar.gz
rust-5b84b9a8d8518e3db0e9f7995a54297a33c59b5c.zip
Constify methods of `std::net::SocketAddr`, `SocketAddrV4` and `SocketAddrV6`
The following methods are made unstable const under the `const_socketaddr` feature:

`SocketAddr`
 - `ip`
 - `port`
 - `is_ipv4`
 - `is_ipv6`

`SocketAddrV4`
 - `ip`
 - `port`

`SocketAddrV6`
 - `ip`
 - `port`
 - `flowinfo`
 - `scope_id`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions