diff options
Diffstat (limited to 'tests/ui/binop/binops.rs')
| -rw-r--r-- | tests/ui/binop/binops.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/binop/binops.rs b/tests/ui/binop/binops.rs index 7142190a45b..702e9a61345 100644 --- a/tests/ui/binop/binops.rs +++ b/tests/ui/binop/binops.rs @@ -35,6 +35,7 @@ fn test_bool() { assert_eq!(true ^ true, false); } +#[allow(integer_to_ptr_transmutes)] fn test_ptr() { unsafe { let p1: *const u8 = ::std::mem::transmute(0_usize); |
