Use use declarations rather than '::std::...' names.

This is what most of the rest of the codebase does, so this patch just
tidies up a few additional places.
This commit is contained in:
Dan Gohman
2018-04-19 13:14:12 -07:00
parent acabcc5c8f
commit d72706c478
6 changed files with 24 additions and 13 deletions

View File

@@ -121,6 +121,7 @@ mod tests {
use super::ExternalName;
use ir::LibCall;
use std::string::ToString;
use std::u32;
#[test]
fn display_testcase() {
@@ -143,7 +144,7 @@ mod tests {
assert_eq!(ExternalName::user(0, 0).to_string(), "u0:0");
assert_eq!(ExternalName::user(1, 1).to_string(), "u1:1");
assert_eq!(
ExternalName::user(::std::u32::MAX, ::std::u32::MAX).to_string(),
ExternalName::user(u32::MAX, u32::MAX).to_string(),
"u4294967295:4294967295"
);
}