From 8ddd9c3d7ed3ddd5b3afc9952e82ccb8ed8208a8 Mon Sep 17 00:00:00 2001 From: StackOverflowExcept1on <109800286+StackOverflowExcept1on@users.noreply.github.com> Date: Sat, 3 Jun 2023 09:34:59 +0300 Subject: [PATCH 1/2] add `#[allow(rustdoc::broken_intra_doc_links)]` to subxt-codegen --- codegen/src/api/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/codegen/src/api/mod.rs b/codegen/src/api/mod.rs index 4dc5cb33ac..7fb6e9a47a 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 ) * From 9ca6d0f20e74d2223fd9b84c367bcf1b99ef3f4a Mon Sep 17 00:00:00 2001 From: James Wilson Date: Mon, 5 Jun 2023 11:19:09 +0100 Subject: [PATCH 2/2] Add for "main" codegen path too --- codegen/src/api/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/codegen/src/api/mod.rs b/codegen/src/api/mod.rs index 7fb6e9a47a..d2e37cef68 100644 --- a/codegen/src/api/mod.rs +++ b/codegen/src/api/mod.rs @@ -527,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 ) *