From 1564d5fe5dccd7ec1f8c85f6032ca57f86269f2b Mon Sep 17 00:00:00 2001 From: Jake Goulding Date: Sat, 4 Apr 2020 13:21:12 -0400 Subject: [PATCH] Allow the unused_braces lint which is too eager See https://github.com/rust-lang/rust/issues/70717 --- .cirrus.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index 6b7d2f25..f8472a07 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -32,6 +32,10 @@ stable_test_task: doc_test_task: name: "Docs" + env: + # unused-braces is due to https://github.com/rust-lang/rust/issues/70717 + RUSTFLAGS: "-D warnings -A unused-braces" + RUSTDOCFLAGS: "${RUSTFLAGS}" container: image: rustlang/rust:nightly cpu: 1