Track the source of the type_target and value_target separately for ImportResolutions
auto merge of #7038 : alexcrichton/rust/issue-6935, r=catamorphism

Tracks the `type_target` and `value_target` source imports separately to correctly warn about unused imports.