diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-04-20 18:26:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-20 18:26:04 +0200 |
| commit | 01d4731735d90d00111c284284bb9d7f4920935f (patch) | |
| tree | 3f4bdfbc5a11a0039935eb747c43af7787a5a5e6 /src/librustdoc/html/static/js/source-script.js | |
| parent | 53f028d79072f9ff37af0315bea9b3c1c9615d5b (diff) | |
| parent | 0255398ff74422155187ee2ee7b095fc16838107 (diff) | |
| download | rust-01d4731735d90d00111c284284bb9d7f4920935f.tar.gz rust-01d4731735d90d00111c284284bb9d7f4920935f.zip | |
Rollup merge of #96168 - chris-morgan:AddrParseError-description-improvements, r=joshtriplett
Improve AddrParseError description The existing description was incorrect for socket addresses, and misleading: users would see “invalid IP address syntax” and suppose they were supposed to provide an IP address rather than a socket address. I contemplated making it two variants (IP, socket), but realised we can do still better for the IPv4 and IPv6 types, so here it is as six. I contemplated more precise error descriptions (e.g. “invalid IPv6 socket address syntax: expected a decimal scope ID after %”), but that’s a more invasive change, and probably not worthwhile anyway.
Diffstat (limited to 'src/librustdoc/html/static/js/source-script.js')
0 files changed, 0 insertions, 0 deletions
