Skip to content

Commit

Permalink
Fix the usual check-fast scoping mistake.
Browse files Browse the repository at this point in the history
  • Loading branch information
jld committed Nov 26, 2013
1 parent 8624d5b commit 0c04a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/run-pass/enum-clike-ffi-as-int.rs
Expand Up @@ -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);
}
}

5 comments on commit 0c04a26

@bors
Copy link
Contributor

@bors bors commented on 0c04a26 Nov 26, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from thestinger
at jld@0c04a26

@bors
Copy link
Contributor

@bors bors commented on 0c04a26 Nov 26, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging jld/rust/enum-unstruct = 0c04a26 into auto

@bors
Copy link
Contributor

@bors bors commented on 0c04a26 Nov 26, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jld/rust/enum-unstruct = 0c04a26 merged ok, testing candidate = 720bcd8

@bors
Copy link
Contributor

@bors bors commented on 0c04a26 Nov 26, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 0c04a26 Nov 26, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 720bcd8

Please sign in to comment.