Skip to content

Commit 3717a03

Browse files
committed
Re-enable improper_ctypes lint on bindings
The linked issue rust-lang/rust#34798 has since been fixed, and rust will not warn if PhantomData is used in FFI structs. See also: rust-lang/rust#39462
1 parent 8885917 commit 3717a03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ pub fn succeeded(error: FT_Error) -> bool {
2727
error == freetype::FT_Err_Ok as FT_Error
2828
}
2929

30-
#[allow(improper_ctypes)] // https://github.com/rust-lang/rust/issues/34798
30+
#[deny(improper_ctypes)]
3131
pub mod freetype;
3232
pub mod tt_os2;

0 commit comments

Comments
 (0)