rust/tests/rustdoc/heterogeneous-concat.rs

12 lines
285 B
Rust
Raw Normal View History

2024-11-10 13:38:41 -06:00
// 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!");
}