diff options
| author | Jed Davis <jld@panix.com> | 2013-11-25 19:42:57 -0800 |
|---|---|---|
| committer | Jed Davis <jld@panix.com> | 2013-11-25 19:42:57 -0800 |
| commit | 0c04a26b3f8ba70ea686e1a365729835c62c26eb (patch) | |
| tree | bd6daa6f359d672c417aced561e3f1b3b6c103ae | |
| parent | 8624d5b186c1fba01f3e3cf38403db5ad93b87ed (diff) | |
| download | rust-0c04a26b3f8ba70ea686e1a365729835c62c26eb.tar.gz rust-0c04a26b3f8ba70ea686e1a365729835c62c26eb.zip | |
Fix the usual check-fast scoping mistake.
| -rw-r--r-- | src/test/run-pass/enum-clike-ffi-as-int.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/enum-clike-ffi-as-int.rs b/src/test/run-pass/enum-clike-ffi-as-int.rs index 6216f4884e3..0c897b959a5 100644 --- a/src/test/run-pass/enum-clike-ffi-as-int.rs +++ b/src/test/run-pass/enum-clike-ffi-as-int.rs @@ -33,7 +33,7 @@ extern "C" fn foo(_x: uint) -> Foo { B } pub fn main() { unsafe { - let f: extern "C" fn(uint) -> u32 = std::cast::transmute(foo); + let f: extern "C" fn(uint) -> u32 = ::std::cast::transmute(foo); assert_eq!(f(0xDEADBEEF), B as u32); } } |
