about summary refs log tree commit diff
path: root/src/librustdoc/html
diff options
context:
space:
mode:
authorUrgau <urgau@numericable.fr>2025-05-01 18:15:04 +0200
committerUrgau <urgau@numericable.fr>2025-05-22 20:10:32 +0200
commit9d9705f4c360df5d8c77876496b0c5594cbc7fa0 (patch)
tree98d9fb2cccee0efc04c7d028134e1e83b4871128 /src/librustdoc/html
parent80c6a0885079038caa0bc90670afbf5ead806c17 (diff)
downloadrust-9d9705f4c360df5d8c77876496b0c5594cbc7fa0.tar.gz
rust-9d9705f4c360df5d8c77876496b0c5594cbc7fa0.zip
Collect and use `#![doc(test(attr(..)))]` at module level too
Diffstat (limited to 'src/librustdoc/html')
-rw-r--r--src/librustdoc/html/markdown.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/librustdoc/html/markdown.rs b/src/librustdoc/html/markdown.rs
index ad7dfafd90c..b48082defa7 100644
--- a/src/librustdoc/html/markdown.rs
+++ b/src/librustdoc/html/markdown.rs
@@ -300,7 +300,6 @@ impl<'a, I: Iterator<Item = Event<'a>>> Iterator for CodeBlocks<'_, 'a, I> {
                 crate_name: krate.map(String::from).unwrap_or_default(),
                 no_crate_inject: false,
                 insert_indent_space: true,
-                attrs: vec![],
                 args_file: PathBuf::new(),
             };
             let mut builder = doctest::BuildDocTestBuilder::new(&test).edition(edition);