Skip to content

Commit 1564d5f

Browse files
committed
Allow the unused_braces lint which is too eager
See rust-lang/rust#70717
1 parent eb60320 commit 1564d5f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.cirrus.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ stable_test_task:
3232

3333
doc_test_task:
3434
name: "Docs"
35+
env:
36+
# unused-braces is due to https://github.com/rust-lang/rust/issues/70717
37+
RUSTFLAGS: "-D warnings -A unused-braces"
38+
RUSTDOCFLAGS: "${RUSTFLAGS}"
3539
container:
3640
image: rustlang/rust:nightly
3741
cpu: 1

0 commit comments

Comments
 (0)