about summary refs log tree commit diff
path: root/src/libstd/sys/unix/net.rs
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2016-09-03 15:29:16 -0700
committerJosh Triplett <josh@joshtriplett.org>2016-09-03 15:29:16 -0700
commitfe8438d4a2c96295dcee95af415b9762c84ec6c6 (patch)
tree7dab201a420a3b8ebc7407e048426dc13274d3a2 /src/libstd/sys/unix/net.rs
parentd748fa6ecccf6f5b4c7ae4abee0a2d206b165de2 (diff)
downloadrust-fe8438d4a2c96295dcee95af415b9762c84ec6c6.tar.gz
rust-fe8438d4a2c96295dcee95af415b9762c84ec6c6.zip
Fix "field is never used" warning to take unions into account
Rather than saying "struct or union" or adding logic to determine the
type of the item, just change the message to "field is never used",
dropping the "struct".

Update tests accordingly.
Diffstat (limited to 'src/libstd/sys/unix/net.rs')
0 files changed, 0 insertions, 0 deletions