From 1ad9a20ce2a156fae7c3b3d0fb4d408c5d07c374 Mon Sep 17 00:00:00 2001 From: StackOverflowExcept1on <109800286+StackOverflowExcept1on@users.noreply.github.com> Date: Mon, 5 Jun 2023 14:22:52 +0300 Subject: [PATCH] add `#[allow(rustdoc::broken_intra_doc_links)]` to subxt-codegen (#998) * add `#[allow(rustdoc::broken_intra_doc_links)]` to subxt-codegen * Add for "main" codegen path too --------- Co-authored-by: James Wilson --- codegen/src/api/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codegen/src/api/mod.rs b/codegen/src/api/mod.rs index 4dc5cb33ac..d2e37cef68 100644 --- a/codegen/src/api/mod.rs +++ b/codegen/src/api/mod.rs @@ -253,6 +253,7 @@ impl RuntimeGenerator { #( #item_mod_attrs )* #[allow(dead_code, unused_imports, non_camel_case_types)] #[allow(clippy::all)] + #[allow(rustdoc::broken_intra_doc_links)] pub mod #mod_ident { // Preserve any Rust items that were previously defined in the adorned module #( #rust_items ) * @@ -526,6 +527,7 @@ impl RuntimeGenerator { #( #item_mod_attrs )* #[allow(dead_code, unused_imports, non_camel_case_types)] #[allow(clippy::all)] + #[allow(rustdoc::broken_intra_doc_links)] pub mod #mod_ident { // Preserve any Rust items that were previously defined in the adorned module. #( #rust_items ) *