diff options
| author | bors <bors@rust-lang.org> | 2016-09-06 20:06:34 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-09-06 20:06:34 -0700 |
| commit | fe278a8a3218fd83d8bf21e82e2c0cc975d2fb64 (patch) | |
| tree | 049b0812007f7a663f6acbda56e33f459a66e840 /src/libstd/sys/unix/net.rs | |
| parent | 3b272bf3102afd739d3e7284b898fa42fa1bd64e (diff) | |
| parent | 046c7f23680f9a8f24209be4097656f91ade0bbb (diff) | |
| download | rust-fe278a8a3218fd83d8bf21e82e2c0cc975d2fb64.tar.gz rust-fe278a8a3218fd83d8bf21e82e2c0cc975d2fb64.zip | |
Auto merge of #36252 - joshtriplett:union-field-never-used, r=sanxiyn
Fix "field is never used" warning to take unions into account When compiling code containing a union with an unused field, rustc says "struct field is never used". 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
