Fix cargo rustc
for test with implicit binary.
#5503
Merged
cargo rustc
for test with implicit binary.
#5503