You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1006 B
38 lines
1006 B
From ced70c2ff0ea01e7e99ffcfb0431c1326e9b5cb2 Mon Sep 17 00:00:00 2001
|
|
From: Philipp Korber <philippkorber@gmail.com>
|
|
Date: Tue, 7 Nov 2017 13:37:11 +0100
|
|
Subject: [PATCH] fix: now can be used again on nightly
|
|
|
|
(rust stability gurantees do not apply to
|
|
crates using deny(warnings) as introducing
|
|
warnings is not seen as a braking change)
|
|
---
|
|
src/lib.rs | 1 +
|
|
src/parse.rs | 1 +
|
|
2 files changed, 2 insertions(+)
|
|
|
|
diff --git a/src/lib.rs b/src/lib.rs
|
|
index f01d6f2..f9bff72 100644
|
|
--- a/src/lib.rs
|
|
+++ b/src/lib.rs
|
|
@@ -452,6 +452,7 @@ macro_rules! names {
|
|
|
|
#[test]
|
|
fn test_names_macro_consts() {
|
|
+ #[allow(warnings)]
|
|
use std::ascii::AsciiExt;
|
|
$(
|
|
assert_eq!($id.source.to_ascii_lowercase(), $id.source);
|
|
diff --git a/src/parse.rs b/src/parse.rs
|
|
index c61afcf..2fba380 100644
|
|
--- a/src/parse.rs
|
|
+++ b/src/parse.rs
|
|
@@ -1,3 +1,4 @@
|
|
+#[allow(unused_imports)]
|
|
use std::ascii::AsciiExt;
|
|
use std::error::Error;
|
|
use std::fmt;
|
|
--
|
|
2.16.1
|
|
|