From 8a630fea7c55a37598dda98687fb24d5366b1439 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 9 Sep 2017 11:08:19 -0700 Subject: [PATCH] Suppress cast_lossless lint in test suite --- test_suite/tests/test_annotations.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test_suite/tests/test_annotations.rs b/test_suite/tests/test_annotations.rs index fb796111..91719325 100644 --- a/test_suite/tests/test_annotations.rs +++ b/test_suite/tests/test_annotations.rs @@ -6,6 +6,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +#![cfg_attr(feature = "cargo-clippy", allow(cast_lossless))] + #[macro_use] extern crate serde_derive;