rust/tests/ui/four_forward_slashes_first_line.fixed
2025-02-15 13:38:16 +01:00

7 lines
299 B
Rust

/// borked doc comment on the first line. doesn't combust!
//~^ four_forward_slashes
fn a() {}
// This test's entire purpose is to make sure we don't panic if the comment with four slashes
// extends to the first line of the file. This is likely pretty rare in production, but an ICE is an
// ICE.