summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJyun-Yan You <jyyou@cs.nctu.edu.tw>2014-09-12 17:03:56 +0800
committerJyun-Yan You <jyyou@cs.nctu.edu.tw>2014-09-12 17:03:56 +0800
commit75027a82e07215d69a79a85c0c01a9aa2b131110 (patch)
tree591594a70c7205afdbe89aa9aa09d64ad7cf051c
parentd9a06288bc6e5eb1cc9e7c03f388f97afdcaa310 (diff)
Reduce some warnings
-rw-r--r--src/clang.rs2
-rw-r--r--src/clangll.rs2
-rw-r--r--src/parser.rs1
3 files changed, 1 insertions, 4 deletions
diff --git a/src/clang.rs b/src/clang.rs
index cf73d744..c4343b4a 100644
--- a/src/clang.rs
+++ b/src/clang.rs
@@ -1,5 +1,3 @@
-#![allow(non_uppercase_pattern_statics)]
-
use libc::{c_uint, c_char, c_int, c_ulong};
use std::{mem, io, ptr, string};
use std::fmt;
diff --git a/src/clangll.rs b/src/clangll.rs
index 27261f83..51472a25 100644
--- a/src/clangll.rs
+++ b/src/clangll.rs
@@ -1,9 +1,9 @@
/* automatically generated by rust-bindgen */
#![allow(non_camel_case_types)]
-#![allow(uppercase_variables)]
#![allow(dead_code)]
#![allow(unused_attribute)]
+#![allow(non_snake_case)]
pub type ptrdiff_t = ::libc::c_long;
pub type size_t = ::libc::c_ulong;
diff --git a/src/parser.rs b/src/parser.rs
index 8a16c983..179a1640 100644
--- a/src/parser.rs
+++ b/src/parser.rs
@@ -1,4 +1,3 @@
-#![allow(non_uppercase_pattern_statics)]
#![allow(unused_must_use)]
use std::collections::{HashMap, HashSet};