testsuite: xfailed test cases
rustc: Remove redundant code from resolve, as per XXX comments
auto merge of #7917 : catamorphism/rust/resolve-and-testcases, r=catamorphism