Rollup merge of #132871 - lolbinarycat:rustdoc-heterogeneous-first-paragraph-85763, r=aDotInTheVoid
add regression test for #85763 closes #85763
This commit is contained in:
commit
5742e2255e
1 changed files with 11 additions and 0 deletions
11
tests/rustdoc/heterogeneous-concat.rs
Normal file
11
tests/rustdoc/heterogeneous-concat.rs
Normal file
|
@ -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!");
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue