Skip to content

Commit

Permalink
Rollup merge of #132871 - lolbinarycat:rustdoc-heterogeneous-first-pa…
Browse files Browse the repository at this point in the history
…ragraph-85763, r=aDotInTheVoid

add regression test for #85763

closes #85763
  • Loading branch information
jhpratt authored Nov 11, 2024
2 parents 7c53b5d + 93ea5bb commit 5742e22
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/rustdoc/heterogeneous-concat.rs
Original file line number Diff line number Diff line change
@@ -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!");
}

0 comments on commit 5742e22

Please sign in to comment.