diff --git a/components/equihash/src/lib.rs b/components/equihash/src/lib.rs index aa275c61c..fc2364206 100644 --- a/components/equihash/src/lib.rs +++ b/components/equihash/src/lib.rs @@ -18,7 +18,7 @@ //! [BK16]: https://www.internetsociety.org/sites/default/files/blogs-media/equihash-asymmetric-proof-of-work-based-generalized-birthday-problem.pdf // Catch documentation errors caused by code changes. -#![deny(broken_intra_doc_links)] +#![deny(rustdoc::broken_intra_doc_links)] mod verify; diff --git a/components/zcash_encoding/src/lib.rs b/components/zcash_encoding/src/lib.rs index 9d9446cb9..901f1a19a 100644 --- a/components/zcash_encoding/src/lib.rs +++ b/components/zcash_encoding/src/lib.rs @@ -4,7 +4,7 @@ //! for stable binary encodings used throughout the Zcash ecosystem. // Catch documentation errors caused by code changes. -#![deny(broken_intra_doc_links)] +#![deny(rustdoc::broken_intra_doc_links)] #![deny(missing_docs)] #![deny(unsafe_code)] diff --git a/components/zcash_note_encryption/src/lib.rs b/components/zcash_note_encryption/src/lib.rs index 15bae4010..09ad12609 100644 --- a/components/zcash_note_encryption/src/lib.rs +++ b/components/zcash_note_encryption/src/lib.rs @@ -15,7 +15,7 @@ #![no_std] #![cfg_attr(docsrs, feature(doc_cfg))] // Catch documentation errors caused by code changes. -#![deny(broken_intra_doc_links)] +#![deny(rustdoc::broken_intra_doc_links)] #![deny(unsafe_code)] // TODO: #![deny(missing_docs)] diff --git a/zcash_client_backend/src/lib.rs b/zcash_client_backend/src/lib.rs index 085070c13..852906156 100644 --- a/zcash_client_backend/src/lib.rs +++ b/zcash_client_backend/src/lib.rs @@ -4,7 +4,7 @@ //! light clients. // Catch documentation errors caused by code changes. -#![deny(broken_intra_doc_links)] +#![deny(rustdoc::broken_intra_doc_links)] // Temporary until we have addressed all Result cases. #![allow(clippy::result_unit_err)] diff --git a/zcash_client_sqlite/src/lib.rs b/zcash_client_sqlite/src/lib.rs index 8a3dfe35c..7c0184c80 100644 --- a/zcash_client_sqlite/src/lib.rs +++ b/zcash_client_sqlite/src/lib.rs @@ -30,7 +30,7 @@ //! [`init_cache_database`]: crate::chain::init::init_cache_database // Catch documentation errors caused by code changes. -#![deny(broken_intra_doc_links)] +#![deny(rustdoc::broken_intra_doc_links)] use std::collections::HashMap; use std::fmt; diff --git a/zcash_extensions/src/lib.rs b/zcash_extensions/src/lib.rs index 70788b6e9..4ccb49efb 100644 --- a/zcash_extensions/src/lib.rs +++ b/zcash_extensions/src/lib.rs @@ -1,5 +1,5 @@ // Catch documentation errors caused by code changes. -#![deny(broken_intra_doc_links)] +#![deny(rustdoc::broken_intra_doc_links)] pub mod consensus; pub mod transparent; diff --git a/zcash_history/src/lib.rs b/zcash_history/src/lib.rs index 016bcdd00..60e347803 100644 --- a/zcash_history/src/lib.rs +++ b/zcash_history/src/lib.rs @@ -3,7 +3,7 @@ //! To be used in zebra and via FFI bindings in zcashd // Catch documentation errors caused by code changes. -#![deny(broken_intra_doc_links)] +#![deny(rustdoc::broken_intra_doc_links)] #![warn(missing_docs)] mod entry; diff --git a/zcash_proofs/src/lib.rs b/zcash_proofs/src/lib.rs index a4688d24f..dc1d97aaf 100644 --- a/zcash_proofs/src/lib.rs +++ b/zcash_proofs/src/lib.rs @@ -5,7 +5,7 @@ #![cfg_attr(docsrs, feature(doc_cfg))] // Catch documentation errors caused by code changes. -#![deny(broken_intra_doc_links)] +#![deny(rustdoc::broken_intra_doc_links)] // Temporary until we have addressed all Result cases. #![allow(clippy::result_unit_err)]