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 ) *