]> git.lizzy.rs Git - rust.git/commitdiff
Temporary fix for rustc warning false-positive?
authormcarton <cartonmartin+git@gmail.com>
Wed, 16 Mar 2016 18:26:14 +0000 (19:26 +0100)
committermcarton <cartonmartin+git@gmail.com>
Wed, 16 Mar 2016 18:28:24 +0000 (19:28 +0100)
tests/compile-fail/derive.rs

index 06f1388dc056916b978d6cb977d4bb965ebfcf63..775669dcbd508f0e2f06327855e7624630a74c6e 100755 (executable)
@@ -3,6 +3,7 @@
 
 #![deny(warnings)]
 #![allow(dead_code)]
+#![allow(unused_variables)] // Temporary fix for rustc false positive. To be removed.
 
 use std::hash::{Hash, Hasher};