rust/tests/target/issue-6109.rs
Giordanno Castro c8290a5fb7
ensure parse errors aren't emitted when formatting doc comments (#6232)
This adds a test case to validate behavior when using
`format_code_in_doc_comments=true`
2024-07-07 20:52:33 -04:00

8 lines
100 B
Rust

/// Some doc comment with code snippet:
///```
/// '\u{1F}
/// ```
pub struct Code {}
fn main() {}