Check for trait impl conflicts across crates
auto merge of #12023 : nick29581/rust/err_res, r=alexcrichton

closes #3512