Skip to content

Commit 0c04a26

Browse files
committed
Fix the usual check-fast scoping mistake.
1 parent 8624d5b commit 0c04a26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/run-pass/enum-clike-ffi-as-int.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ extern "C" fn foo(_x: uint) -> Foo { B }
3333

3434
pub fn main() {
3535
unsafe {
36-
let f: extern "C" fn(uint) -> u32 = std::cast::transmute(foo);
36+
let f: extern "C" fn(uint) -> u32 = ::std::cast::transmute(foo);
3737
assert_eq!(f(0xDEADBEEF), B as u32);
3838
}
3939
}

0 commit comments

Comments
 (0)