diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-12-23 09:51:23 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-23 09:51:23 -0800 |
commit | 3ba3a76f8c7f393c81bc14eb497ae2b3047ead98 (patch) | |
tree | e08ab5ab12af804ac33a11cf6947f719a13d67e7 /libbindgen/src/lib.rs | |
parent | cbc03042403029d3709290304b8804fec1d21bb9 (diff) | |
parent | b93faf9015e91303a9cfb14281c1ebe5ca877acd (diff) |
Auto merge of #360 - emilio:base, r=fitzgen
Don't assume that base classes are already resolved.
Since it may not be the case.
Fixes #359
Also fixes a few other test cases in the codebase that had the wrong namespace relationship.
r? @fitzgen
Diffstat (limited to 'libbindgen/src/lib.rs')
-rw-r--r-- | libbindgen/src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbindgen/src/lib.rs b/libbindgen/src/lib.rs index a74c1799..5054cd13 100644 --- a/libbindgen/src/lib.rs +++ b/libbindgen/src/lib.rs @@ -7,6 +7,7 @@ #![deny(missing_docs)] #![deny(warnings)] +#![deny(unused_extern_crates)] // We internally use the deprecated BindgenOptions all over the place. Once we // remove its `pub` declaration, we can un-deprecate it and remove this pragma. @@ -17,13 +18,13 @@ #![allow(non_upper_case_globals)] #[macro_use] +#[allow(unused_extern_crates)] extern crate cfg_if; extern crate cexpr; extern crate syntex_syntax as syntax; extern crate aster; extern crate quasi; extern crate clang_sys; -extern crate libc; extern crate regex; #[macro_use] extern crate lazy_static; |