diff options
| author | Stuart Cook <Zalathar@users.noreply.github.com> | 2025-08-12 20:37:50 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-12 20:37:50 +1000 |
| commit | 31e5316cd9d6ebb8cdbbc46e42faacc99762fc41 (patch) | |
| tree | b7953e7e8513b36ce2d96f9b643dc99521c14111 /tests | |
| parent | 378a26f16525704e44006e5b9be57f9b6a1a9abb (diff) | |
| parent | c022ed99274b6d8d243fcaac0450080e90e4c079 (diff) | |
| download | rust-31e5316cd9d6ebb8cdbbc46e42faacc99762fc41.tar.gz rust-31e5316cd9d6ebb8cdbbc46e42faacc99762fc41.zip | |
Rollup merge of #144921 - lolbinarycat:rustdoc-intra-doc-gfm-141866, r=fmease,GuillaumeGomez
Don't emit `rustdoc::broken_intra_doc_links` for GitHub-flavored Markdown admonitions like `[!NOTE]` fixes rust-lang/rust#141866
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/rustdoc-ui/intra-doc/github-flavored-admonitions.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/intra-doc/github-flavored-admonitions.rs b/tests/rustdoc-ui/intra-doc/github-flavored-admonitions.rs new file mode 100644 index 00000000000..d5fa72eb993 --- /dev/null +++ b/tests/rustdoc-ui/intra-doc/github-flavored-admonitions.rs @@ -0,0 +1,6 @@ +// regression test for https://github.com/rust-lang/rust/issues/141866 +//@ check-pass +#![deny(rustdoc::broken_intra_doc_links)] + +//! > [!NOTE] +//! > This should not cause any warnings |
