add regression test for #85763
This commit is contained in:
parent
7028d9318f
commit
93ea5bb709
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…
Reference in New Issue
Block a user