]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/mir/mir_cast_fn_ret.rs
Revert "Auto merge of #65134 - davidtwco:issue-19834-improper-ctypes-in-extern-C...
[rust.git] / src / test / ui / mir / mir_cast_fn_ret.rs
index 6b37ac3704038dacb876798ca3dcf0df4d6c37cf..69fd64c1c092c262e52dfa631a3889d9036fdaef 100644 (file)
@@ -1,10 +1,8 @@
 // run-pass
-#[allow(improper_ctypes)]
 pub extern "C" fn tuple2() -> (u16, u8) {
     (1, 2)
 }
 
-#[allow(improper_ctypes)]
 pub extern "C" fn tuple3() -> (u8, u8, u8) {
     (1, 2, 3)
 }