Skip to content

Commit 77ad0bd

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.cirrus.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ doc_test_task:
4242
version_information_script:
4343
- rustc +nightly --version
4444
docs_script:
45-
- cargo +nightly doc
45+
# unused-braces is due to https://github.com/rust-lang/rust/issues/70717
46+
- RUSTFLAGS='-D warnings -A unused-braces' RUSTDOCFLAGS=$RUSTFLAGS cargo +nightly doc
4647
backtraces_docs_script:
4748
- cargo +nightly doc --features=backtraces
4849
backtraces_impl_backtrace_crate_docs_script:

0 commit comments

Comments
 (0)