about summary refs log tree commit diff
path: root/src/libnative
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2014-10-27 15:37:07 -0700
committerAaron Turon <aturon@mozilla.com>2014-10-28 08:54:21 -0700
commite0ad0fcb95f0bd6e69e9032c23b66515a590dfe5 (patch)
tree8d1fcc64b2219b49b255f92f1d2c4087200d8930 /src/libnative
parent58dc0a05abb98ae2db65ca20e70f3bab51f8bf92 (diff)
downloadrust-e0ad0fcb95f0bd6e69e9032c23b66515a590dfe5.tar.gz
rust-e0ad0fcb95f0bd6e69e9032c23b66515a590dfe5.zip
Update code with new lint names
Diffstat (limited to 'src/libnative')
-rw-r--r--src/libnative/io/c_windows.rs2
-rw-r--r--src/libnative/lib.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libnative/io/c_windows.rs b/src/libnative/io/c_windows.rs
index eed3df28b8f..ee6aa26ede2 100644
--- a/src/libnative/io/c_windows.rs
+++ b/src/libnative/io/c_windows.rs
@@ -10,7 +10,7 @@
 
 //! C definitions used by libnative that don't belong in liblibc
 
-#![allow(type_overflow)]
+#![allow(overflowing_literals)]
 
 use libc;
 
diff --git a/src/libnative/lib.rs b/src/libnative/lib.rs
index c99143f0a5d..0104ac1f2bb 100644
--- a/src/libnative/lib.rs
+++ b/src/libnative/lib.rs
@@ -55,7 +55,7 @@
        html_favicon_url = "http://www.rust-lang.org/favicon.ico",
        html_root_url = "http://doc.rust-lang.org/nightly/")]
 
-#![deny(unused_result, unused_must_use)]
+#![deny(unused_results, unused_must_use)]
 #![allow(non_camel_case_types)]
 #![allow(unknown_features)]
 #![feature(default_type_params, lang_items, slicing_syntax)]