Fix CI to error on doc links to private items
[rust-lightning] / lightning / src / lib.rs
index 2e6b3ab3c0a99cb2d438b15982ed954d4bd35e94..450727107357b8fb8a6c4956303143f096fada44 100644 (file)
 
 #![cfg_attr(not(any(test, fuzzing, feature = "_test_utils")), deny(missing_docs))]
 #![cfg_attr(not(any(test, fuzzing, feature = "_test_utils")), forbid(unsafe_code))]
+
+// Prefix these with `rustdoc::` when we update our MSRV to be >= 1.52 to remove warnings.
 #![deny(broken_intra_doc_links)]
+#![deny(private_intra_doc_links)]
 
 // In general, rust is absolutely horrid at supporting users doing things like,
 // for example, compiling Rust code for real environments. Disable useless lints