Auto merge of #4978 - Eh2406:master, r=alexcrichton
authorbors <bors@rust-lang.org>
Sat, 24 Feb 2018 20:46:55 +0000 (20:46 +0000)
committerbors <bors@rust-lang.org>
Sat, 24 Feb 2018 20:46:55 +0000 (20:46 +0000)
Only allow one of each links attribute in resolver

This is a start on fixing the `links` part of #4902. It needs code that adds the links attribute to the index. But, I wanted to get feedback.


Trivial merge