about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/errors.rs
diff options
context:
space:
mode:
authorNadrieril <Nadrieril@users.noreply.github.com>2024-01-21 06:38:35 +0100
committerGitHub <noreply@github.com>2024-01-21 06:38:35 +0100
commit3cd378cc1589ef1d575c06485316d3a2a5c1a503 (patch)
tree47c4c39eec2241bc56f133170d65cc39939a8259 /compiler/rustc_pattern_analysis/src/errors.rs
parente8d1c2ef9caacd5e1da012637d9e12375b9839ce (diff)
parent605504c5bf5b02026dee02bfe682ff9adf3e22cd (diff)
downloadrust-3cd378cc1589ef1d575c06485316d3a2a5c1a503.tar.gz
rust-3cd378cc1589ef1d575c06485316d3a2a5c1a503.zip
Rollup merge of #119081 - jstasiak:is-ipv4-mapped, r=dtolnay
Add Ipv6Addr::is_ipv4_mapped

This change consists of cherry-picking the content from the original PR[1], which got closed due to inactivity, and applying the following changes:

* Resolving merge conflicts (obviously)
* Linked to to_ipv4_mapped instead of to_ipv4 in the documentation (seems more appropriate)
* Added the must_use and rustc_const_unstable attributes the original didn't have

I think it's a reasonably useful method to have.

[1] https://github.com/rust-lang/rust/pull/86490
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions