Rollup merge of #132871 - lolbinarycat:rustdoc-heterogeneous-first-paragraph-85763, r=aDotInTheVoid

add regression test for #85763

closes #85763
This commit is contained in:
Jacob Pratt 2024-11-10 19:12:26 -05:00 committed by GitHub
commit 5742e2255e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View 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!");
}