From 415470cbe986cd7c17ccc76c5b7182c4800a5de5 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Wed, 4 Oct 2023 06:11:03 +0200 Subject: [PATCH] Fix tests. --- bindgen-tests/tests/expectations/tests/allowlist_item.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindgen-tests/tests/expectations/tests/allowlist_item.rs b/bindgen-tests/tests/expectations/tests/allowlist_item.rs index eaca8aec22..9a7817d0b2 100644 --- a/bindgen-tests/tests/expectations/tests/allowlist_item.rs +++ b/bindgen-tests/tests/expectations/tests/allowlist_item.rs @@ -1,5 +1,4 @@ #![allow(dead_code, non_snake_case, non_camel_case_types, non_upper_case_globals)] -pub const FooDefault: u32 = 0; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct Foo { @@ -28,3 +27,4 @@ fn bindgen_test_layout_Foo() { extern "C" { pub fn FooNew(value: ::std::os::raw::c_int) -> Foo; } +pub const FooDefault: u32 = 0;