Skip to content

Commit adb5d03

Browse files
authored
needless declarations (#2794)
* needless declarations * fix build * needless annotations
1 parent 2d293e6 commit adb5d03

18 files changed

+0
-34
lines changed

bindgen-integration/build.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
extern crate bindgen;
2-
extern crate cc;
32

43
use bindgen::callbacks::{
54
DeriveInfo, IntKind, MacroParsingBehavior, ParseCallbacks,

bindgen-integration/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ use std::ffi::CStr;
1212
use std::mem;
1313
use std::os::raw::c_int;
1414

15-
#[allow(unused)]
1615
use bindings::testing::Bar; // This type is generated from module_raw_line.
1716

1817
type MacroInteger = isize;

bindgen-tests/tests/expectations/tests/dynamic_loading_attributes.rs

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindgen-tests/tests/expectations/tests/dynamic_loading_required.rs

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindgen-tests/tests/expectations/tests/dynamic_loading_simple.rs

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindgen-tests/tests/expectations/tests/dynamic_loading_template.rs

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindgen-tests/tests/expectations/tests/dynamic_loading_with_allowlist.rs

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindgen-tests/tests/expectations/tests/dynamic_loading_with_blocklist.rs

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindgen-tests/tests/expectations/tests/dynamic_loading_with_class.rs

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindgen-tests/tests/expectations/tests/wrap_unsafe_ops_dynamic_loading_simple.rs

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)