Skip to content

Commit b008149

Browse files
committed
Fix the test for #1374.
1 parent b62bac3 commit b008149

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tests/expectations/tests/derive-debug-bitfield-core.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
non_upper_case_globals
88
)]
99

10+
extern crate core;
11+
1012
#[repr(C)]
1113
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
1214
pub struct __BindgenBitfieldUnit<Storage, Align>

tests/headers/derive-debug-bitfield-core.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// bindgen-flags: --impl-debug --use-core
1+
// bindgen-flags: --impl-debug --use-core --raw-line "extern crate core;"
22

33
class C {
44
bool a: 1;

0 commit comments

Comments
 (0)