summaryrefslogtreecommitdiff
path: root/bindgen/lib.rs
diff options
context:
space:
mode:
authorChristian Poveda Ruiz <31802960+pvdrz@users.noreply.github.com>2023-02-10 10:17:32 -0500
committerGitHub <noreply@github.com>2023-02-10 10:17:32 -0500
commitce0ae76899a39a93e7db8f8ad24c5e681a3d7294 (patch)
treebd173f641aeaa7e07a1485937aa50cfe6604e486 /bindgen/lib.rs
parent01c45391284674041f89454bfe6eeb900aa0be28 (diff)
Disallow constant values that were changed in clang 15 (#2410)
* Disallow constant values that could cause problems with clang 15 * Fix clippy warnings
Diffstat (limited to 'bindgen/lib.rs')
-rw-r--r--bindgen/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/bindgen/lib.rs b/bindgen/lib.rs
index 53747420..14d7a155 100644
--- a/bindgen/lib.rs
+++ b/bindgen/lib.rs
@@ -9,6 +9,7 @@
//! additional documentation.
#![deny(missing_docs)]
#![deny(unused_extern_crates)]
+#![deny(clippy::disallowed_methods)]
// To avoid rather annoying warnings when matching with CXCursor_xxx as a
// constant.
#![allow(non_upper_case_globals)]