Created by: v-jizhang
Rust changed warning messages and tests that depend on the message should be changed tooo.