Skip to content

Commit f550033

Browse files
committed
Remove some warnings
1 parent 9eb5ce5 commit f550033

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

src/clang.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(non_uppercase_statics)]
2+
13
use libc::{c_uint, c_char, c_int, c_ulong};
24
use std::{mem, io, ptr, string};
35
use std::fmt;

src/clangll.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#![allow(dead_code)]
55
#![allow(unused_attribute)]
66
#![allow(non_snake_case)]
7+
#![allow(non_uppercase_statics)]
78

89
pub type ptrdiff_t = ::libc::c_long;
910
pub type size_t = ::libc::c_ulong;

src/parser.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#![allow(unused_must_use)]
2+
#![allow(non_uppercase_statics)]
23

34
use std::collections::{HashMap, HashSet};
45
use std::collections::hashmap;

0 commit comments

Comments
 (0)