Skip to content

Commit f973a31

Browse files
fix(ci): silence semicolon-in-expressions-from-macros in u256 (#10986)
Newer nightly toolchains flag `uint::construct_uint!`'s internal macro expansion under this lint, and the docs jobs deny all warnings, so `cargo doc --all-features --document-private-items` fails to compile zebra-chain on both the Book workflow and PR CI.
1 parent 2d0a86b commit f973a31

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

zebra-chain/src/work/u256.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
#![allow(clippy::range_plus_one)]
66
#![allow(clippy::fallible_impl_from)]
77
#![allow(missing_docs)]
8+
// `uint`'s macro expansion trips this lint on newer nightlies: https://github.com/rust-lang/rust/issues/79813
9+
#![allow(semicolon_in_expressions_from_macros)]
810

911
use uint::construct_uint;
1012

0 commit comments

Comments
 (0)