diff options
| author | binarycat <binarycat@envs.net> | 2024-11-10 13:38:41 -0600 |
|---|---|---|
| committer | binarycat <binarycat@envs.net> | 2024-11-10 13:38:41 -0600 |
| commit | 93ea5bb709b2542b58f9020d95d4c09a8ab640ce (patch) | |
| tree | b6d4bfb9196d50656c41a7740bb94ccd453a22b7 | |
| parent | 7028d9318fadc20e5e3058d52e44d785d31a6aaa (diff) | |
| download | rust-93ea5bb709b2542b58f9020d95d4c09a8ab640ce.tar.gz rust-93ea5bb709b2542b58f9020d95d4c09a8ab640ce.zip | |
add regression test for #85763
| -rw-r--r-- | tests/rustdoc/heterogeneous-concat.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/rustdoc/heterogeneous-concat.rs b/tests/rustdoc/heterogeneous-concat.rs new file mode 100644 index 00000000000..8443ccc559e --- /dev/null +++ b/tests/rustdoc/heterogeneous-concat.rs @@ -0,0 +1,11 @@ +// regression test for https://github.com/rust-lang/rust/issues/85763 + +#![crate_name = "foo"] + +//@ has foo/index.html '//main' 'Some text that should be concatenated.' +#[doc = " Some text"] +#[doc = r" that should"] +/// be concatenated. +pub fn main() { + println!("Hello, world!"); +} |
