2
0
Fork 0
mirror of https://github.com/rust-lang/rust-clippy synced 2025-02-18 15:08:47 +00:00
rust-clippy/tests/ui/four_forward_slashes_first_line.fixed

7 lines
273 B
Rust
Raw Normal View History

/// borked doc comment on the first line. doesn't combust!
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.