diff options
| author | Christiaan Dirkx <christiaan@dirkx.email> | 2021-06-19 16:41:38 +0200 |
|---|---|---|
| committer | Jakub Stasiak <jakub@stasiak.at> | 2023-12-18 13:54:26 +0100 |
| commit | 605504c5bf5b02026dee02bfe682ff9adf3e22cd (patch) | |
| tree | 024117b1703b524d1a111963ad6aa4a859d127f0 /compiler/rustc_pattern_analysis/src/errors.rs | |
| parent | 37340a12c7ab5bf47e32a8fdaea652f81ac15ede (diff) | |
| download | rust-605504c5bf5b02026dee02bfe682ff9adf3e22cd.tar.gz rust-605504c5bf5b02026dee02bfe682ff9adf3e22cd.zip | |
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. [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
