Skip to content

Commit 5742e22

Browse files
authored
Rollup merge of #132871 - lolbinarycat:rustdoc-heterogeneous-first-paragraph-85763, r=aDotInTheVoid
add regression test for #85763 closes #85763
2 parents 7c53b5d + 93ea5bb commit 5742e22

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/rustdoc/heterogeneous-concat.rs

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// regression test for https://github.com/rust-lang/rust/issues/85763
2+
3+
#![crate_name = "foo"]
4+
5+
//@ has foo/index.html '//main' 'Some text that should be concatenated.'
6+
#[doc = " Some text"]
7+
#[doc = r" that should"]
8+
/// be concatenated.
9+
pub fn main() {
10+
println!("Hello, world!");
11+
}

0 commit comments

Comments
 (0)