about summary refs log tree commit diff
path: root/tests/rustdoc-gui/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-07-22 17:45:18 +0000
committerbors <bors@rust-lang.org>2024-07-22 17:45:18 +0000
commit2a1c384f0e44ad01ac5c85f0cd9de58c97981974 (patch)
treecbbe591a5628d02834bec50135264a4dfa6c2a3c /tests/rustdoc-gui/src
parent20f23abbecd7ac5e04dd7ccadc29c3824e28a269 (diff)
parentdb368ea938bfa6b974f600ce7a5b1d7eeb0378c0 (diff)
downloadrust-2a1c384f0e44ad01ac5c85f0cd9de58c97981974.tar.gz
rust-2a1c384f0e44ad01ac5c85f0cd9de58c97981974.zip
Auto merge of #128063 - tgross35:rollup-hsxmptf, r=tgross35
Rollup of 9 pull requests

Successful merges:

 - #117932 (Correct rustdoc section where we talk about rustdoc emitting errors on invalid code)
 - #125990 (Rename `deprecated_safe` lint to `deprecated_safe_2024`)
 - #127506 (rustc_target: add known safe s390x target features)
 - #127820 (Rewrite and rename `issue-14698`. `issue-33329` and `issue-107094` `run-make` tests to rmake or ui)
 - #127923 (Use reuse tool 4.0)
 - #128008 (Start using `#[diagnostic::do_not_recommend]` in the standard library)
 - #128036 (add more tests)
 - #128051 (rustdoc: revert spacing change in item-table)
 - #128059 (Add regression test for items list size (#128023))

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'tests/rustdoc-gui/src')
-rw-r--r--tests/rustdoc-gui/src/test_docs/lib.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/rustdoc-gui/src/test_docs/lib.rs b/tests/rustdoc-gui/src/test_docs/lib.rs
index 244c1b9c5cd..7397992c0ab 100644
--- a/tests/rustdoc-gui/src/test_docs/lib.rs
+++ b/tests/rustdoc-gui/src/test_docs/lib.rs
@@ -620,3 +620,11 @@ pub mod trait_bounds {
     pub trait TwoBounds: Sized + Copy {}
     pub trait ThreeBounds: Sized + Copy + Eq {}
 }
+
+pub mod short_docs {
+    /// mult_vec_num(x: &[f64], y: f64)
+    pub fn mult_vec_num() {}
+
+    /// subt_vec_num(x: &[f64], y: f64)
+    pub fn subt_vec_num() {}
+}