Skip to content

Commit 93ea5bb

Browse files
committed
add regression test for rust-lang#85763
1 parent 7028d93 commit 93ea5bb

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)