From 6b4625dcbbe1a2a655211a9175c653a5f94b48fc Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 13 Jan 2018 14:43:34 -0800 Subject: [PATCH] Ignore warning in no_std test --- test_suite/no_std/src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test_suite/no_std/src/main.rs b/test_suite/no_std/src/main.rs index bcd5c480..4e817362 100644 --- a/test_suite/no_std/src/main.rs +++ b/test_suite/no_std/src/main.rs @@ -9,6 +9,9 @@ #![feature(lang_items, start, compiler_builtins_lib)] #![no_std] +// https://github.com/rust-lang/rust/issues/47311 +#![cfg_attr(feature = "cargo-clippy", allow(double_parens))] + extern crate libc; extern crate compiler_builtins;