We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8624d5b commit 0c04a26Copy full SHA for 0c04a26
src/test/run-pass/enum-clike-ffi-as-int.rs
@@ -33,7 +33,7 @@ extern "C" fn foo(_x: uint) -> Foo { B }
33
34
pub fn main() {
35
unsafe {
36
- let f: extern "C" fn(uint) -> u32 = std::cast::transmute(foo);
+ let f: extern "C" fn(uint) -> u32 = ::std::cast::transmute(foo);
37
assert_eq!(f(0xDEADBEEF), B as u32);
38
}
39
0 commit comments